George Michael has been sentenced to eight weeks in jail for driving while under the influence of marijuana, the Associated Press reports. The singer pleaded guilty in August to the charge, which stemmed from an incident on July 4, when he crashed his car into a photo store in London. In court Tuesday, the judge scolded Michael for taking a “dangerous and unpredictable mix” of marijuana and prescription medication while driving. “It does not appear that you took proper steps to deal with what is clearly an addiction to cannabis,” District Judge John Perkins said to Michael. “That’s a mistake which puts you and, on this occasion, the public at risk.”

Michael must also pay a $1,930 fine for the crime, and is barred from getting behind the wheel for five years.