A 28-year-old man in Carson City, Nevada broke up with his girlfriend and apparently wanted revenge so he posted naked photos of her online but they got him busted for child pornography.

KOLO-TV reports that the 28-year-old man's name is Ivan Botello, and since he didn't want the paper trail to lead back to him, he arranged for a friend to do the dirty work for him instead.

But since Botello's 18-year-old ex posed for the photos putting them online was not illegal, the illegal part was the fact that the pics were taken of her when she was 16.

Botello was arrested on child pornography charges.

Botello also used to be a reserve deputy in Carson City and was already on probation in a separate case for sleeping with another underage girl.