Actress Lindsay Lohan was sentenced to three months in jail yesterday and ordered her to undergo a rehabilitation programme after a judge found she had broken the terms of her probation in a 2007 drug case.
The 24-year-old actress burst into tears after the ruling in Beverly Hills, California.
Superior Court judge Marsha Revel issued the sentence after hearing evidence from employees of a court-ordered alcohol treatment programme.
Lohan missed numerous classes - seven since last December - which led to the judge's harsh rebuke of Lohan, moments after the Mean Girls star offered a tearful apology.
"I did do everything I was told to do and did the best I could to balance jobs and showing up," Lohan told the judge.
"It wasn't vacation, it wasn't some sort of a joke."
But Judge Revel said she found Lohan's apology insincere, comparing it to "somebody who cheats and thinks it isn't cheating if she doesn't get caught".
Lohan was not immediately taken into custody and will be permitted to surrender on July 20. She will have to wear an ankle alcohol tag until then.
Los Angeles County district attorney spokeswoman Jane Robison said it was not uncommon for judges to allow defendants to turn themselves in at a later date so they can get their affairs in order.
The sentence tripled the month-long jail sentence prosecutors had sought for Lohan.
The actress' father and younger sister also burst into tears after the sentence was issued.
Judge Revel revoked Lohan's probation and ordered her to wear the ankle monitor after the starlet missed a court date in May. She was promoting a film project at the Cannes Film Festival at the time and claimed her passport was stolen.
The monitor issued an alert after the actress attended the MTV Movie Awards and after-parties last month. Judge Revel said the device registered a .03 blood alcohol level at the time.
Lohan's lawyer, Shawn Chapman Holley, urged the judge to place the actress back on probation, saying she had learned her lesson and had improved.
But prosecutor Danette Meyers urged jail time for the star.
"When you ordered her to go every week, it didn't catch her attention," Ms Meyers said.
Lohan spent 84 minutes in jail in 2007 after she pleaded guilty to two misdemeanour counts of being under the influence of cocaine and no contest to two counts of driving with a blood-alcohol level above 0.08% and one count of reckless driving.
The plea came after a pair of high-profile arrests earlier that year. Lohan was sentenced to three years of probation but had to ask for a year-long extension in October after she failed to complete her alcohol-education courses on time.