According to TMZ, Bruno Mars has copped a deal in his cocaine possession case. The 'Grenade' singer, and his lawyer Blair Berk, appeared in a Las Vegas and pleaded guilty today (Feb. 16) to possession of a controlled substance.

Mars -- real name Peter Gene Hernandez -- will be required to do 8 hours of private counseling and 200 hours of community service with a charitable organization. He must also pay a $2,000 fine. According to TMZ, Mars' deal also states that the charge will be dismissed if he stays out of trouble for 12 months.

Berk tells TMZ, "We are very pleased that the prosecution has agreed to dismiss the charge."

Bruno was arrested in September at the Hard Rock Hotel and Casino after a bathroom attendant told security a man was doing coke in the bathroom.

Watch Bruno Mars' 'Grenade'

%VIRTUAL-globalVideoEmbed-{"videoIds":"517721332","width":"476","height":"357"}%