A Wrightsville man who tried to have a sexual rendezvous with someone he thought was a 14-year-old girl must spend at least four years in prison, state prosecutors said.

Joshua Adam Martin, 33, of Elizabeth Court, pleaded guilty Thursday in Lancaster County Court to two counts of unlawful contact with a minor, both felonies.

He was sentenced to four to 10 years in state prison, according to the Pennsylvania Attorney General's Office.

Special agents with the attorney general's child predator unit focused on Martin after he "met" one of them in an online chat room, according to court records.

Martin thought he was corresponding with a girl named "Emma," but in fact was having online conversations with a Lancaster County-based member of the child predator unit, authorities said.

'Creepy': The first conversation happened July 11, 2012, with Martin giving "Emma" his age and saying, "some girls ur age would find that creepy," according to court records.

The conversations continued for months and grew more and more sexually graphic, authorities said.

Court documents state Martin discussed things he'd like to do with "Emma," including "u have to wear pigtails for me. ... Just u naked with ur pigtails."

Martin also wrote "(Of) course we have to make sure ur mom isn't around. And ur not a cop haha," according to court records.

Arrest fears: He admitted he was scared, writing, "I could be arrested and charged with child rape or something like that," records state.


Martin and "Emma" agreed to meet for sex at a local shopping plaza on Route 462 in Lancaster Township, Lancaster County, on Feb. 13, 2013, police said.

When Martin arrived there, he was arrested.

To report suspected Internet child predators, call the attorney general's Child Predator Hotline at (800) 385-1044. For internet safety tips, see the Operation Safe Surf section of

— Reach Liz Evans Scolforo at