The photos were gathered by authorities earlier this year amid an investigation into nude and semi-nude photos sent by students at the school.

KNOXVILLE, Iowa (AP) — A teenager and her family have filed a lawsuit to try and block a Marion County attorney from charging her with sexual exploitation after she sent photos of herself to a classmate through the mobile messaging app Snapchat.

The Knoxville High School freshman took one photo of herself in a mirror, showing her wearing a sports bra and boy shorts, a style of underwear, the Des Moines Register reports. In the second photo, the teen was topless and wearing the same underwear, but her hair covered her breasts.

The photos were gathered by authorities earlier this year amid an investigation into nude and semi-nude photos sent by students at the school.

The family’s lawsuit argues that the county attorney Ed Bull is trying to punish behavior that wasn’t criminal.