Gary D. Forry allegedly took 42 photos of a female while she was sleeping naked, police said.

A Hanover man is awaiting a preliminary hearing after he allegedly took more than 40 nude and partially nude photos of a woman he knew without her consent, according to charging documents.

Gary D. Forry, 40, of the 300 block of North Franklin Street, allegedly took the photos Nov. 10 and 11 when she was sleeping in her bedroom, according to an affidavit filed with District Judge Dwayne Dubs. He took a combined 42 photos of her on her bed while she was either partially or completely nude, the affidavit states.

She found the photos a few days later when she asked to borrow Forry's phone because hers was out of minutes, according to the affidavit. After finding the photos, she called police, the affidavit states.

Forry provided a statement to police admitting he took the photos, according to the affidavit. He allegedly told police he took them while she was sleeping because he would not have had consent otherwise.