Lindsay Lohan returned to court on Wednesday where she learned her fate after failing to complete her community service assignment at the Downtown Women's Center in Los Angeles.
After Lohan admitted to violating probation, Superior Court Judge Stephanie Sautner ruled that the actress was in violation of probation and sentenced her to 300 days in jail.
The judge ordered Lohan to surrender to jail by November 9.
However, Judge Sautner explained that after her 30 days in jail, if Lohan continues to perform community service and attend therapy sessions, the remainder of her 270 days in jail will be stayed.
Following the court proceedings, a source told Access Hollywood she will likely serve six days behind bars due to overcrowding.
Lohan will not be eligible for house arrest or electronic monitoring.
After her release from jail, Lohan is ordered to continue her community service at the Los Angeles County Morgue, where she has been working since her last court appearance. She has also been assigned a new probation officer, whom she will be required to report to one business day after leaving jail.
By December 14 - when she returns to court again - she is required to have performed 12 days more of community service at the morgue and four psychotherapy sessions. If she follows these requirements, the remainder of her 270 days in jail will continue to be stayed.
She will next be seen in court on January 17, after being required to complete another 12 additional days at the morgue, as well as four more therapy sessions. Lohan will continue with a subsequent 12 more days helping at the morgue and four more sessions leading up to another appearance in court on February 15.
The actress is required to appear yet again on March 29 in court, after this time completing 17 more days at the morgue and six therapy sessions.
If the actress has complied with all of the requirements at that time, her 270 days in jail will be permanently stayed.
"From what I can see of you, you need a structure. And this is a structure," the judge told Lohan. "If you do all of this, then by March 29, you just go about your business and you obey all laws."
Judge Sautner also encouraged Lohan to not Tweet about her time working at the morgue and noted that she is not allowed to leave the country and can only leave California with the approval of her probation officer - and only for work, holiday time or visits with her family.
Lohan's attorney, Shawn Chapman Holley, inquired about the possibility that the actress will attempt to complete her community service hours early.
"I would be the happiest judge in town if she finished this early. The earlier, the better," Judge Sautner said. "If you have a period of time when there's no work, they'd love to have you down at the morgue. But they have strict rules. You violate their rules, they kick you out. Jail time automatically comes into play."
Wednesday's development marked the latest legal problem for the 25-year-old, who was given probation for a 2007 drunken driving conviction and a misdemeanor theft conviction this year.
Copyright 2011 by NBC Universal, Inc. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.