Lindsay Lohan Lindsay Lohan

Lindsay Lohan was sentenced to 90 days in jail Tuesday after a judge determined she violated her probation.

The 24-year-old actress, who cried in court during the sentencing, was also ordered by Los Angeles Superior Court Judge Marsha Revel to complete a 90-day inpatient substance abuse program.

Judge doubles Lindsay Lohan's  bail after alcohol monitoring bracelet violation

Lohan was found in violation of her probation after missing seven Alcoholics Anonymous classes during a 27-week period. She has been on probation since August 2007 after pleading guilty to drug charges and no contest to three driving charges. In May, Lohan was ordered to wear an alcohol-monitoring bracelet after missing a mandatory court hearing.Revel ordered Lohan to continue to wear the court-ordered bracelet until she surrenders for jail on July 20 at 8:30 a.m. Lohan will serve her time at Century Regional Detention Facility in Lynwood, Calif., where she previously served 84 minutes behind bars in 2007.Before her sentencing, Lohan stood up to appeal directly to Revel and said she had been led to believe she was in compliance with the program.

Judge orders Lindsay Lohan to wear alcohol monitoring bracelet

"As far as I knew, I was being in compliant with my Right On program. When I would ask to leave town, they would give me permission to leave town," Lohan said. "I did do everything I was told to do."Lohan teared up in court and said that if she had known she was violating her probation, she would have done things differently. "I'm not taking this as a joke. It's my life, it's my career," Lohan said to the judge. "It's just been such a long haul and I don't want you to think that I don't respect you and your terms."Lohan's attorney, Shawn Chapman Holley, said Lohan is determined to finish her mandatory classes and is currently "ahead of track to finish the program."Prosecutor Danette Meyers, however, argued that the court had failed to catch Lohan's attention. "I appreciate the tears, but I don't think you've caught it," Meyers told her. Before the sentencing, Revel said she couldn't have been more clear about what she expected from Lohan to finish the program. "Nowhere did I say substantial compliance would be good enough," she said.

Although he did not testify, Lohan's father, Michael Lohan, was present at the hearing and submitted a letter to the court asking that his daughter be ordered to inpatient rehab and that her prescription drug use be carefully monitored, according to TMZ.

Additionally, in an e-mail to, Michael Lohan wrote, "Our position is Lindsay does NOT need jail, she needs rehab," he said.

(Additional reporting by Joyce Eng)