After being jailed for violating his probation, Chief Keef is headed to rehab in California. On Friday (Nov. 8), a Chicago judge ordered the 18-year-old rapper to enter a drug treatment facility after testing positive for marijuana.

According to the Chicago Sun-Times, the 'I Don’t Like' rhymer will enroll himself in the Promises Treatment Centers, a for-profit rehabilitating program that has helped celebrities like Britney Spears and Lindsay Lohan overcome their drug addictions.

Judge Earl Hoffenberg granted permission for Keef, real name Keith Cozart, to spend 30 days in seclusion at the California treatment facility, which his manger says cost $250,000. Afterward, depending on his 30-day progress report, he will be able to work out there too, as well.

Keef’s next court date is Dec. 12 where the judge will review his progress in rehab. Hopefully, his stint will help the rapper curb his smoking habits and get him focused on music.

"The ball’s in his court,” said Barry Spector, one of Keef’s three attorneys, after the hearing. “If he can comply it’s going to turn out fine. But if he doesn’t, there’s going to be a bigger problem than the one we dealt with today."