A Frederick man was charged with distributing child porn and crossing state lines to have sex with a minor after authorities said he drove to New York after contacting an undercover FBI agent.

Andy William Shreve, 40, was arrested by FBI agents on July 11 after he arrived in Binghamton, New York, where he had previously arranged to meet the agent, who was posing as the mother of two young girls, according to a criminal complaint filed in U.S. District Court for the Northern District of New York.

Follow Jeremy Arias on Twitter: