Former NBA star Dennis Rodman pleaded no contest Tuesday to a charge of spousal battery, TMZ reports.

In exchange for his plea in a Los Angeles court, the 46-year-old received three years of probation, 45 days of roadside graffiti removal, one year of domestic violence counseling and six months of drug and alcohol treatment.

The judge presiding over the case reportedly warned Rodman that "if I hear or see in the news that you have committed any more crimes — you will go to jail."

Rodman was arrested April 30 after allegedly drinking heavily and getting into an altercation with his girlfriend Gina Peterson. She called hotel security and suffered injuries to her arm, but the couple is still dating.

Click here to read more from TMZ.com.