LOS ANGELES — A judge removed CeeLo Green from supervised probation on Wednesday after saying the singer had complied with his sentence in a felony drug case that involved giving a woman ecstasy during a 2012 dinner.

During a hearing, Superior Court Judge David Herriford agreed with a recommendation from probation officials that Green no longer needed to report to a probation officer.

The Grammy-winning singer pleaded no contest in August 2014. He was ordered to serve three years on probation, perform 45 days of community service and attend 52 drug and alcohol counseling sessions.