Heather Locklear has been ordered into a treatment program after pleading no contest to multiple charges of battery against law enforcement personnel.

The charges stem from domestic disturbance calls placed at her home in February of last year. Deputies responded to her Thousand Oaks, California home after a domestic incident between herself and her boyfriend. Then in June, she was arrested again for allegedly kicking first responders.

The Melrose Place star faced eight misdemeanor counts in call: five counts of battery on a police officer, one count of battery on emergency personnel and two counts of resisting, obstructing or delaying a peace officer, according to a statement released by the Ventura County District Attorney’s office.

She was sentenced to 120 days in jail, but will only end up behind bars if she fails to complete a residential treatment program. She was also placed on three years summary probation.