BEVERLY HILLS ( — Actress Amanda Bynes pleaded no contest Monday to a misdemeanor charge stemming from a 2012 collision with a patrol car in West Hollywood.

In exchange for pleading no contest to “wet reckless,” which was entered by her attorney on her behalf, Bynes was sentenced to three years of probation and a three-month alcohol education class, according to the District Attorney’s Office.

READ MORE: One Of The World's Largest Homes Is About To Go Up For Sale In Bel Air

Bynes, 27, was originally charged with misdemeanor DUI.

“She was given the exact same penalty as a first-time DUI offender,” Jane Robison of the District Attorney’s Office said.

Bynes completed nearly six months of rehab in December, after being involuntary hospitalized when her pants ignited as she allegedly set a fire in a Thousand Oaks driveway.

READ MORE: Drone Drops Drugs Into Orange County Jail Courtyard

The actress’ mother, who cited her daughter’s paranoia, erratic behavior and wild spending habits as evidence that she needed professional help, was granted conservatorship following the incident.

The West Hollywood DUI charge was just one of a series of misdemeanor counts filed against the actress in 2012. She was charged in two separate hit-and-run incidents on April 10 and Aug. 4 of that year and with two counts of driving on a suspended license by the City Attorney’s Office.

She is serving three years of probation after pleading no contest to driving on a suspended license.

Bynes is best known for her roles on Nickelodeon’s “All That”‘ and “The Amanda Show” and films such as “Hairspray,” “What a Girl Wants,” “Easy A,” “She’s the Man” and “Sydney White.”

MORE NEWS: Beach Erosion Suspends All Metrolink, Amtrak Service Between OC, San Diego

(©2014 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)