*Bruno Mars told a Las Vegas judge Friday that he’ll plead guilty in state court on Valentine’s Day to a felony cocaine charge that would be wiped from his record if he stays out of trouble for a year, reports Billboard

Las Vegas Justice of the Peace Joseph Sciscento set a Feb. 14 date for the pop star to plead guilty plea – the day after the 53rd Grammy Awards show in Los Angeles.  (The 25-year-old singer-songwriter is nominated for seven Grammy awards, including best male pop vocal.)

Defense lawyer Blair Berk said her client appreciated the chance he was receiving as a first offender. “We’re extremely pleased the charge against Bruno is going to be dismissed,” she said.

The plea deal worked out last week calls for Mars to spend a year on probation, pay a $2,000 fine, perform 200 hours of community service and complete drug counseling.

He spent a night in the Clark County jail in Las Vegas following his arrest in a casino restroom after a nightclub performance at the Hard Rock Hotel & Casino. The hotel-casino is separate from the restaurant chain with the same name.

Police said Mars handed over a bag containing 2.6 grams of cocaine, and told the arresting officer he’d never used drugs before.