Heather Locklear Heather Locklear

Heather Locklear has pleaded no contest to a lesser offense to avoid DUI charges stemming from a September arrest.

The former (and future?) Melrose Place star pleaded no contest to a misdemeanor reckless driving charge in a Santa Barbara, Calif., court Friday, according to The Associated Press. Locklear's attorney entered the plea on her behalf, as she did not appear in court.

As part of the deal, Locklear was sentenced to three years of informal probation, was fined $700, and must attend a 12-hour driver's education program.

Locklear was arrested after a California Highway Patrol officer noticed Locklear's car parked on a highway and blocking a lane of traffic in Montecito, a town near Santa Barbara. Toxicology tests showed no signs of alcohol or illegal narcotics, but Locklear was charged with misdemeanor DUI based on the impairment caused by prescription drugs. Locklear had sought treatment for anxiety and depression in June.