Lindsay Lohan has been sentenced to 90 days a secure rehabilitation facility and ordered to carry out community service after striking a plea deal this morning.
The troubled actress pleaded no contest to reckless driving, lying to police and obstructing officers who were investigating a June 2012 car crash accident in the hearing at Los Angeles Superior court.
She was ordered to spend 90 days in a secure rehab facility and carry out 30 days of community service and 18 months of psychotherapy along with being given several fines for violating her probation.
A mandatory sentence of five days in jail for reckless driving will be folded into her 90 days in rehab and a 180 day jail sentence for violating her probation over an earlier theft charge was suspended.
After the sentencing, Lohan's lawyer Mark Jay Heller told reporters his client was very happy with the result.
"I think that justice was certainly served. I think that Lindsay was afforded an opportunity to address the charges against her.
"I am very confident you won't be seeing Lindsay Lohan in any criminal courts any time in the future. She has fully recognised all the issues that have to be addressed."
However, the attorney was later slammed in a bizarre rant from Lohan's father, who was in court for the sentencing.
Michael Lohan said Heller had deceived his daughter and was just using her case to promote himself.
He also accused the attorney of owing him $160,000 and said he would face charges in New York over his actions.
"He should get away from the cameras and stop using Lindsay to get... money for himself."
Earlier, the actress arrived in court about 30 minutes late, looking slightly frazzled in a cream-coloured pant suit.
She had pleaded not guilty to three misdemeanour charges filed after the accident - reckless driving, lying to police and obstructing officers from performing their duties.