Starlet Lindsay Lohan reached a plea deal Thursday stemming from two drunken-driving arrests that orders her to spend one day in jail and complete a drug program.
"She's getting what everyone else would get," Deputy District Attorney Danette Meyers said after a hearing.
The 21-year-old actress avoided more serious felony drug charges because tests showed there wasn't enough cocaine on her to warrant them. Lohan will also serve 10 days of community service.
The district attorney charged Lohan with two counts of driving under the influence, driving with a blood-alcohol level above .08 percent and being under the influence of cocaine and one count of reckless driving.
Police found cocaine on Lohan during her arrests on May 26 in Beverly Hills and July 24 in Santa Monica. In each incident, the amounts tested were below the .05 grams required for felony charges, according to the district attorney's office.
Both of Lohan's arrests were followed by trips to rehab.
Lohan crashed her Mercedes into a tree on Sunset Boulevard in May and fled the scene to seek medical treatment. Police tests revealed that a white powder in Lohan's purse was .04 grams of cocaine.
She checked into the posh Promises rehabilitation facility after the incident, leaving July 13 after six weeks of treatment. The fashionable star was photographed wearing an alcohol-monitoring ankle bracelet after her release.
Lohan was arrested again on July 24 following a 911 call by Michelle Peck, the mother of Lohan's former personal assistant. Peck told police she was being chased by an SUV. Police later said Lohan was the driver.
Lohan's blood-alcohol level was between 0.12 and 0.13 percent when police found her, officials said. Police also found a white powder in her pocket that was determined to be .02 grams of cocaine.
After the incident, Lohan said in an e-mail to a host for the celebrity-news show "Access Hollywood" that she was "innocent" and the drugs found in her pocket during a pre-booking search were not hers.
A woman who was a passenger in Michelle Peck's vehicle sued the actress this month for assault and negligence.
Tracie Rice's suit seeks unspecified damages and payment of medical and other expenses related to emotional distress.
Lohan is reportedly a patient at the posh Cirque Lodge drug and alcohol rehab center in Sundance, Utah.
She also began the year in rehab at the Wonderland Center in Los Angeles.
"I was growing up and going out a lot, and I needed to have a balance," she told Elle magazine during an interview in May, just days before her first DUI arrest. "I was glad I went, because I needed to get away from everyone and I didn't know how to do that. And I learned a lot there."
Lohan's legal problems come on the heels of two other high-profile celebrity DUI cases in Los Angeles that resulted in jail time. Paris Hilton served 23 days behind bars after she was found guilty of driving on a suspended license while on probation for an alcohol-related reckless driving case. Nicole Richie was ordered to serve four days in jail stemming from a December DUI arrest.
Lohan's latest film, "I Know Who Killed Me," opened in July to lackluster response.
The Associated Press contributed to this report.