MC Hammer was arrested yesterday (Feb. 22) for obstructing an officer, TMZ reports.

According to the site, he was booked and released from Santa Rita Jail in Dublin, Calif. after he allegedly obstructed an officer in the performance of their duties and resisted arrest.

But, Hammer tells a different story of what really happened -- tweeting today that the incident seemed more like racial profiling.

Read his account below.

He writes, "chubby elvis looking dude was tapping on my car window, I rolled down the window and he said'"Are you on parole or probation? 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 !!! Instead of being bitter, I'm taking the opportunity to make this a "teachable moment" and "eye opener" for my many friends & colleagues."

Hammer added that he's more worried about what happened at the station.

"My biggest concern ? What was it that they injected into my arm under the guise of a "Skin Test"? #SantaRita #Tuskegee," he tweeted.

Hammer was also upset because he was on his way to San Quentin Friday morning to "congratulate a group of inmates in "The Last Mile."

No other info was readily available.

Watch MC Hammer Perform "U Can't Touch This"