Heather Locklear has been ordered to 30 days in a mental health facility.
The 56-year-old actress was in court on Friday, where she pled no contest to eight misdemeanour charges, including six involving battery on a police officer or EMT, after she was arrested for allegedly throwing a punch at police when they were called to her home on a disturbance complaint in June.
But rather than face jail time, Heather has been ordered to spend a month in a residential mental health facility, according to TMZ.
The publication reports that the judge stayed a 120 day jail sentence, but it means if Heather doesn't complete her ordered time in the treatment facility - which she must begin by September 6 - she may face the jail time instead.
Sources told TMZ the 'Dynasty' actress wanted to take responsibility for her actions, and wants to get help so she can "avoid such trouble in the future".