By CBSLA Staff

LOS ANGELES (CBSLA) — A lawsuit filed by former Rep. Katie Hill against the Daily Mail over its publication of her nude photos was dismissed by a judge Wednesday.

Hill sued the Daily Mail after it published nude photos of her taken by her former spouse, Kenneth Haslep, in October 2019. The former congresswoman alleged the publication violated state civil code and intentional infliction of emotional distress. She has also sued and Heslep over the publication of the photos.

READ MORE: One Dead In Compton Shooting

Judge Yolanda Orozco cited the First Amendment in her ruling, accepting the Daily Mail’s argument that the publication of the photos was a matter of public concern.

Hill tweeted that she lost in court “because a judge thinks revenge porn is free speech,” but she says she is not giving up.

Hill had shocked local Republicans in 2018 after winning the seat long-held by former Rep. Steve Knight. She resigned her in 2019 after the nude photos of her were published and news emerged that she had a three-way relationship with her husband and a campaign staffer.

MORE NEWS: On First Day Pfizer's Booster Available For Eligible Adults In LA County, Few Have Turned Up For The Shot

A restraining order has since been issued against Haslep, and the couple officially divorced in October.