A Lancaster man accused of trying to arrange a sexual encounter with a 14-year girl, who in reality was an FBI agent posing as the girl, pleaded guilty Wednesday to attempting to receive child pornography.

Assistant U.S. Attorney Marie P. Grisanti said the government was prepared to prove that Joseph S. Marranca advertised for teenage girls on Craigslist and had planned to meet an underaged girl at a Cheektowaga park for the purposes of having sex with her.

Marranca faces a mandatory minimum sentence of 5 years in prison. His conviction was the result of an investigation by the Buffalo FBI's Crimes Against Children Unit.