“Free Willy” child star Jason James Richter reached a plea deal after being arrested in October for domestic violence stemming from an altercation with his girlfriend.

Richter spent two nights in jail and was released on $20,000 bail, his rep confirmed to Page Six at the time. He was later charged with two misdemeanors, one for domestic battery and one for vandalism.

Jason James Richter holding whale piece in a scene from the film 'Free Willy', 1993. (Warner Bros via Getty Images)

He pleaded no contest to the vandalism charge and was found guilty, according to Entertainment Tonight. The court dismissed his domestic battery charge because he changed his vandalism plea from not guilty to no contest.

Richter was sentenced to four days in jail and 36 months probation, but the court credited him the two days he spent in jail in October. He will also have to pay fines, including restitution to his girlfriend.

He also has to enroll in a 52-week domestic violence treatment program within 30 days.

“Jason and his girlfriend were involved in an argument that unfortunately escalated to the point where police were called,” Richter’s rep told us in October. “However, Jason vehemently denies any physical altercation. He is devastated that anyone has been led to believe otherwise.”

His rep didn’t immediately return our request for comment.

This article originally appeared in Page Six.