Lindsay Lohan was in and out of jail on Sunday night in Los Angeles. No, the troubled actress did not run afoul of the law again, she checked into the Century Regional Detention Facility in Lynwood to begin her 30-day jail sentence for violating her probation.

But due to the chronic overcrowding in L.A. jails, according to TMZ, Lohan arrived at 8:48 p.m. and was released less than five hours later at around 1:30 a.m. This was Lohan's fifth trip to jail since her first arrest for drunken driving in 2007.

Lohan was sentenced to 30 days in jail for violating her probation after a judge ruled that she failed to attend the appropriate amount of court-mandated therapy sessions and for getting removed from a community-service gig. The "Mean Girls" actress was in court last week where she admitted to violating the terms of her probation from a theft case by getting booted from a community-service assignment at the Downtown Women's Center.

Judge Stephanie Sautner was adamant that she would not put up with any more slip-ups from Lohan, telling her, "This is known as putting the keys to jail in the defendant's pocket ... the first time you violate, you will go to jail." Lohan will have to serve 12 days at the Los Angeles County morgue -- where she's already been logging some time -- and then attend four therapy sessions by December 14. Sautner warned that if Lohan does not meet all those conditions, she will put a warrant out for her arrest and sentence her to an additional 270 days in jail. Sautner revoked Lohan's probation in October following the revelation that the actress had not completed her obligations from a 2011 arrest on theft charges.

Lohan was given a few extra days to report to jail after the judge agreed to give her time to complete her nude photo shoot for Playboy magazine.