Looks like Lindsay Lohan is finally taking accountability for her actions.

The troubled actress pleaded no contest to the crimes of reckless driving and lying to cops stemming from a car accident on the Pacific Coast Highway back in June.

Lindsay was sentenced to 90 days in a residential treatment facility and cannot leave the premises. In addition to rehab, she must complete 30 days of community labor and 18 months of psychotherapy.

The judge told Lindsay that she should stay away from drugs and drug users (good luck with that) and offered the suggestion, "Don't drive." He warned her that if she violates her probation, she's going to jail. She must always submit to search and seizure from the authorities, without just cause or a warrant.

Lilo's court visit wasn't without other surprises. She was 48 minutes late after missing two flights from New York City to Los Angeles. She was also glitterbombed on her way into the courthouse.

There was also a moment of levity when Lindsay told her talkative new lawyer Mark Heller to "stop talking" and "Oh my God, I'm going to kill you." Let's hope she doesn't otherwise she'll face murder charges, too.

Will Lindsay stay clean? Vote in our poll below!

Hot Videos