Tony DiMaio/Shooting Star
08/23/2007 at 05:25 PM EDT
will serve at least 24 hours in jail in her drunken-driving cases under the terms of a plea deal reached Thursday.
Through her attorney, the actress pleaded guilty to two counts of being under the influence of cocaine and pleaded no contest to driving with a blood alcohol level of .08 percent or higher and reckless driving.
Prosecutors dropped two counts of driving under the influence, which are which are seen as lesser offenses than the charge of driving with a .08 or higher
"Lohan received the same sentence that anyone else with a second DUI conviction would get. She got no special treatment," said Deputy District Attorney Danette Meyers.
Lohan did not attend the hearing in Beverly Hills.
Although she faced a mandatory minimum of four days in jail, she was given credit for one day already served. Prosecutors also agreed she could serve 10 days of community service instead of two days in jail.
Lohan, who was also placed on three years probation and ordered to complete an 18-month alcohol education program, has until January 2008 to serve her jail sentence.
Earlier in the day, she dodged felony charges, with prosecutors filing misdemeanor counts after tests found she possessed insufficient amounts of cocaine, authorities announced.
The actress was charged with seven counts, including two counts each of driving under the influence, driving with blood alcohol of over .08 percent, being under the influence of cocaine, as well as reckless driving, the Los Angeles County District Attorney's Office says.
The charges stem from two separate DUI incidents, one in May in Beverly Hills and one in July in Santa Monica.
In both incidents, police found Lohan in possession of cocaine. But in each case, the amounts tested were below the .05 grams required by office policy for felony filing.
The 21-year-old actress is currently in rehab
at the Cirque Lodge program in Utah.
Lohan was arrested
on July 24 after allegedly hijacking an SUV with two men inside, and recklessly chasing another SUV – driven by the mother of her personal assistant – through the streets of Santa Monica, Calif.
She was booked for DUI, possession of cocaine, transporting a narcotic into a custody facility, and driving on a suspended license. Officers found a container on Lohan that tested at .02 grams of cocaine, according to the DA.
Lohan was previously arrested for DUI
after crashing her Mercedes-Benz in Beverly Hills just two months prior. Tests showed that the substance found in her purse was .04 grams of cocaine powder.
On Aug. 14, Tracie Rice, a passenger in the car Lohan was allegedly chasing, filed a lawsuit
for an undisclosed amount against the actress.
Rice "thought she was going to die that night," her attorney Paul Hoffman told PEOPLE, "and Ms. Lohan needs to be held accountable."