Bruno Mars will avoid a jail conviction for possession of cocaine after meeting the terms of his plea.
The singer was arrested in a bathroom at the Hard Rock Hotel in Las Vegas in September 2010.
During a court appearance last February 16, Mars was given 12 months probation, a fine and 200 hours community service.
The 25-year-old star was also ordered to attend drug counselling sessions.
The singer, real name Peter Hernandez, faced up to four years in state prison if he had violated the terms of the agreement.
Meanwhile, Rappers Snoop Dogg and Wiz Khalifa have shot a new music video for a track with Bruno Mars.
Bruno Mars - live
You can keep up to date with all the latest news from Gigwise by following us on Twitter and liking us on Facebook.

Azealia Banks to release new tracks 'Grand Prix' and '1991'
Jack White releases first ever 3RPM vinyl
Plan B reacts to posh spoof of new single 'iLL Manors'
New Florence track for 'Snow White' soundtrack
Snoop Dogg, Wiz Khalifa, Bruno Mars Unveil 'Young, Wild & Free' Video - Watch
The 50 greatest female soul and r&b singers ever
It's not all doom and gloom! The happiest men in rock
The 50 most hated music stars of all time