Odd Future's controversial frontman Tyler, The Creator was detained by Los Angeles police on Tuesday (May 10), while signing autographs at Westchester High School, and promoting the release of his XL Recordings debut 'Goblin.'

The 20-year-old rapper had organized promotional teams at Fairfax, Pacific Palisades and Westchester High Schools, to sell 'Goblin,' released earlier this week, and limited edition Odd Future merchandise.

"Its Mexicans Outside Of Fairfax; Palisades; Westchester Selling GOBLIN; Oranges; An Exclusive Tee And You Can Get A Wristband For The Show," Tyler tweeted before police arrived.

Tyler then posted photos of police putting him in handcuffs, and confiscating his merchandise from the crowd. Though it was not clear what offense Tyler had been cuffed for, he quickly updated his Twitter followers that he had not been arrested, merely detained for disturbing the peace and loitering. "And F--- Those Cops. Had Us In Cuffs For No Reason, Didn't Do S---. "Disturbing The Peace, Loitering And Skating Pass A Cop" What The F---?"

Tyler also had some harsh words for the LAPD. "I Swear To Atheist God Tho, F--- COPS. I'm Moshing Tonight. F--- Cops F--- Cops #GOBLIN. F--- POLICE F--- YOU ALL I HOPE YOU ALL DIE."

Odd Future went on to perform a secret record release party at the Troubadour in West Hollywood later that night.

The group has upcoming dates in Boston on May 12, New York City on May 13, Detroit on May 16 and Washington, D.C. on May 18.

Watch Tyler, The Creator's 'Yonkers'

More From TheBoombox