Rapper Kevin Gates was sentenced Wednesday to 30 months in prison for violating his probation on a weapons charge.

In March, Gates dutifully turned himself in to Chicago authorities, thinking he would be released immediately. But an Illinois judge ordered him held without bail until his hearing.

The rapper, whose real name is Kevin Jerome Gilyard, 31, was arrested in Florida last October and charged with assault after he kicked a female concertgoer in the chest.

Gilyard was set to be released in March, but a last minute computer check turned up a warrant on weapons charges in Illinois.

Let this be a lesson to all you felonious thugs who think you can get off easy because you have a little paper.