Coolio Pleads Guilty, Avoids Slammer

6/28/2009 4:09 PM PDT BY TMZ STAFF
CoolioCoolio copped a deal in his crack cocaine case -- avoiding jail time by pleading guilty to one count of possession of a controlled substance.

Charges of battery and possession of a smoking device were dropped in exchange for the guilty plea, and the rapper was ordered to spend 18 months in a rehabilitation program.

Coolio was busted with the drugs back in March at LAX.