Updated

A sex offender serving time in a California jail can't sue his victim for calling him a rapist, a judge in California has decided.

The Sacramento Bee reports that the judge took less than 30 minutes to throw out a $4 million defamation lawsuit from Lang Her, a 26-year-old former University of California, Davis, student who stood trial twice for allegedly assaulting fellow student Yee Xiong at a party in 2012.

More from Newser

Instead of going to trial a third time after the first two resulted in hung juries, he pleaded no contest to assault by means of force likely to produce great bodily injury—but also sued Xiong and three of her siblings for calling him a rapist in Facebook comments.

Her claimed the Facebook posts caused him "mental and emotional distress."

McGregor Scott, who represented Xiong, says the lawsuit is part of a trend of men found guilty of sexual assault trying to sue their victims, the Guardian reports. Xiong has previously called the lawsuit a "slap to the face," per AP.

Click for more from Newser.