A Clark County district judge sentenced the 25-year-old singer-songwriter Wednesday to probation, a $2,000 fine, 200 hours of community service and drug counseling.
Mars, whose real name is Peter Hernandez, declined comment after the court hearing. So did his lawyers.
His conviction could be erased if he stays out of trouble for a year. The judge set a Jan. 18 date next year for Mars to return at the end of his probation.
Police say Mars had 2.6 grams of cocaine when he was arrested in September in a casino bathroom after a nightclub performance.
Copyright 2011 by Associated Press. All rights reserved.This material may not be published, broadcast, rewritten or redistributed.
Related Content from AccessHollywood.com:
VIEW THE PHOTOS: Crazy! Sexy! Cool! The Planet's Hottest Pop Stars Take The Stage
VIEW THE PHOTOS: Grammy Awards 2011: Inside The Show!