MC Hammer was arrested for obstruction yesterday, but claims that it was actually a case of racial profiling.

According to TMZ, the “U Can’t Touch This” rapper says he was arrested for obstructing an officer in the performance of their duties and resisting and officer. He claimed that the officer pulled out his gun and asked, “Are you on parole or probation?” He was booked and released from Santa Rita Jail in Dublin, California.

Taking to Twitter, Hammer detailed what he says actually went down. “Chubby elvis looking dude was tapping on my car window, I rolled down the window and he said ‘Are you on parole or probation?'” he wrote. “While I was handing him my ID he reached in my car and tried to pull me out the car but forgot he was on a steady donut diet. .. It was comical to me until he pulled out his guns, blew his whistle and yelled for help (MallCop) !!! But make no mistake he’s dangerous .. only thing more dangerous than a scared man with a gun, is a scared man with an agenda, a gun and a badge. I was citied for obstruction smh. You have to know me to understand I was laughing when he was grunting and pulling on me .. I had just left the weight room .. I will now answer his question, contrary to his personal beliefs, all people of color are not on parole or probation fat boy !!!”

Hammer was most recently in the news for failing to pay $780,000 in back taxes and was being sued by the government to recoup losses. The lawsuit was filed in December 2011.

Santa Rita police are yet to comment on the matter. HipHopDX will keep you updated as more information comes to light.

RELATED: MC Hammer Sued By The Government For $779,585 In Back Taxes