American Pie actress Natasha Lyonne was freed by a court after handing herself in on charges which included threatening to molest a dog.
Ms Lyonne has also appeared in Blade: Trinity and Scary Movie 2
The 27-year-old was also charged with trespass and harassment following an incident in 2004.
She allegedly walked into a neighbour's home saying: "I'm going to sexually molest your dog".
A judge ordered charges to be dismissed if she is not arrested for six months as she had undergone drug treatment.
She has also paid $2,000 (£1,023) compensation and is continuing to receive drug counselling.
The court appearance stemmed from an incident when authorities said Lyonne banged on the neighbour's door, stormed into their apartment, ripped a mirror from the wall and threatened the dog.
An arrest warrant was issued after she failed to appear in court three times.
She had previously been sentenced to probation following a drink-drive arrest.
As well as appearing in two of the American Pie comedies, Lyonne also featured in Blade and Scary Movie 2.
Her lawyer, Terry Karl, said the actress was back working again after a period away from the profession.