Rock musician Pete Doherty got suspended jail sentence of four months for a series of drug and driving offenses.
Doherty, whose drug use has frequently landed him in court, was fined 400 pounds (560 EUR, US$800) for driving without insurance and 75 pounds (107 EUR, US$154) for not having a valid inspection certificate for his car.
Appearing at West London Magistrates Court, Doherty was given a four-month sentence, suspended for two years. He was also placed under court supervision for 18 months and given a 12-month drug treatment order.
"You have made strides and I hope you will continue in doing so. I would hate to see you going backwards," district judge Davinder Lachhar told Doherty, who was cheered by a gaggle of fans as he left the courthouse.
At another London court on Wednesday, Doherty had been released from a court-ordered drug treatment order after satisfying a judge that he would continue his efforts to beat addiction.
Doherty, 28, was arrested in May and subsequently pleaded guilty to possession of crack cocaine, heroin, ketamine and cannabis and a variety of driving offenses.
He was arrested again in August for allegedly breaching bail conditions by possessing drugs, but that charge was dropped because police failed to meet a deadline for bringing him to court.
Best known as the on-off boyfriend of model Kate Moss, Doherty fronts a band called Babyshambles.