TRENTON, N.J. (AP) — Gov. Chris Christie has signed into law a measure that makes “upskirting” a criminal offense.

Christie approved the law on Thursday that criminalizes the surreptitious recording or photographing of a person’s undergarments under the state’s invasion of privacy laws.

READ MORE: Temple University Student Samuel Sean Collington Killed In Off-Campus Shooting In North Philadelphia

The measure was previously passed by lawmakers.

It makes the act of publishing “upskirt” images a third-degree offense punishable with up to five years in prison and a $15,000 fine.

READ MORE: Shooting In Southwest Philadelphia Leaves 4 Men Injured, Police Say

Recording the images is a fourth-degree offense with up to 18 months in prison and a $10,000 fine.

Christie says he signed the measure to target perpetrators “of a perverse and growing form of pornography that victimizes vulnerable women and children in a matter of seconds.”

MORE NEWS: 'The Whole World Is Going To See It': Art From Nebinger Elementary Students To Be Featured On National Christmas Tree

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)