A 35-year-old New York City man was caught taking photographs of another man who was using the bathroom at a Wegmans supermarket in Hanover last week, authorities said.

Allan Jones, of the Bronx, was arrested and charged with invasion of privacy on Feb. 26, Hanover police said Monday.

The victim told police he entered a stall, sat on the toilet and then noticed a phone pointing down at him.

A responding officer found Jones in the same bathroom and arrested him, authorities said.

Jones was given a summons and released.

In July, a 33-year-old man was arrested after police said he walked around the same Wegmans and took upskirt photos of women as they shopped.

Jeff Goldman may be reached at jeff_goldman@njadvancemedia.com. Follow him on Twitter @JeffSGoldman.

Have a tip? Tell us. nj.com/tips

Get the latest updates right in your inbox. Subscribe to NJ.com’s newsletters