When the judge terminated the probation last month, Lohan smiled broadly and breathed a sigh of relief, before hugging her lawyer Shawn Holley.
The judge then advised Lohan to curb her partying ways to help her stay out of trouble in future.
She said: "I know it's kinda hard when people are following you all of the time, but that's the life you chose.
"You need to live your life in a more mature way, stop clubbing and focus on work."
The 25-year-old star thanked Judge Stephanie Sautner for the way she had dealt with her case.
She said: "I just want to thank you for being fair. What you've done has really opened a lot of doors for me and I appreciate it."
Lohan will now stay on informal probation relating to a misdemeanour theft last year and must not break any laws for the next 30 months.
The judge told her: "The only terms on that case are to obey all laws. It's not that hard."
- Bang! Showbiz