Heather Locklear has been booked for 30 days in a mental health facility.
The 56-year-old actress was in court on Friday where she pleaded no contest to eight wrongdoing, including six battery involved in a police officer or EMT after she was arrested for allegedly throwing a punch at police when called to her home on a disturbance complaint in June.
But rather than jail time, Heather has been ordered to spend a month in a mental health housing institution, according to TMZ.
The publication reports that the judge was detained for 120 days in jail, but that means that if Heather does not finish her booked time in the treatment facility – which she must begin by September 6 – she may be able to see the jail time instead.
Sources told TMZ that the & # 39; Dynasty & # 39; actress would take responsibility for her actions and wants to get help so she can "avoid such problems in the future."
Heather will also be on three years of informal probation, which means she will not be supervised, but is expected to stay away from weapons, non-prescription drugs and alcohol.
In June, the star was arrested as police responded to calls for disturbance near her home.
Heather was alleged to be heavily intoxicated at the time of the call and was visibly angry when law enforcement arrived on the scene, sources told TMZ.
The "Melrose Place" star had to be separated from members of her family by a deputy, and she reportedly threw a punch in the middle of the fracas.
Paramedics arrived at the scene and they put Heather on a gurney – but she reportedly responded to their help by kicking off an emergency medical technician.
Meanwhile, the verdict follows another incident earlier this year in which Heather was hospitalized after she threatened to shoot herself.
It was reported that the star had been hospitalized after a family member called 911 for concern that the star threatened to take his own life.
Law enforcement sources claim that an unnamed family member called police out of concern for Heather & # 39; s security, and both the Ventura County Fire and Sheriff & # 39; s Department responded at home to the star.
The caller claimed that the & # 39; dynasty & # 39; actress appeared irregular and threatened to harm herself and was reportedly looking for her firearm.