It's been almost two years since CeeLo Green was accused of sexual battery and distributing ecstasy, but now it seems that the singer won't face prison time.

According to TMZ, Green pleaded no contest to the charges -- meaning he won't fight the claims against him but he doesn't have to admit guilt.

Back in October 2013, the Los Angeles D.A., threw out the sexual assault charge since police had a problem with the victim's story.

The highly-publicized incident took place in 2012, after the unnamed woman said she woke up naked in the artist's bed after hanging out in a Los Angeles bar. It was also reported that she and the former 'Voice' coach were dating for months prior to that night, and often spent time together in California and Las Vegas. Additionally, witnesses at the bar said the woman seemed coherent when she left, which also damaged her story.

Green will have to be on probation for three years, do 360 hours of community service and attend private AA meetings with a professional therapist as a result of his plea deal.

More From TheBoombox