A man authorities say sent an undercover federal agent a trove of child pornography believing the agent would then arrange an incestuous sex show has been sentenced to state prison.

Andrew Derrickson, 50, of Lindenwold, was sentenced to seven years in state prison, including 3.5 years of parole ineligibility, authorities said.

According to the attorney general's office, he believed the federal agent was a mother who'd arrange a webcam show in which her 11-year-old daughter would perform oral sex on the girl's father.

“This case illustrates how far these traders of child pornography will go to obtain more materials and their utter disregard for the fact that they motivate new sexual assaults on innocent victims through their conduct,” acting Attorney General John Hoffman said in a statement from his office. “By repeatedly soliciting the sexual assault of an 11-year-old girl and distributing numerous files of child pornography in the process, Derrickson proved that he is a dangerous predator who belongs behind bars.”

Derrickson pleaded guilty on Jan. 19 to a second-degree charge of distribution of child pornography. The charge was contained in a June 16, 2015 state grand jury indictment. Derrickson will be required to register as a sex offender under Megan’s Law and will be subject to parole supervision for life.

Authorities say the investigation began in early 2014 when ICE Homeland Security Investigations initiated an investigation of individuals using chatrooms to exchange child pornography.

On four occasions, Derrickson sent child pornography to the undercover agent, sending a total of approximately 75 videos and images of child pornography, including numerous images of prepubescent girls being sexually assaulted, authorities said.

In further online chats, he continued to request the promised sex show, authorities said. They traced Derrickson’s IP address to his house in Lindenwold, where he was arrested Oct. 9, 2014.

Authorities say an examination of Derrickson’s computer turned up 227 images and 925 videos of suspected child pornography. All of the videos and most of the images were in a designated “shared folder” on Derrickson’s computer, from which others could download the files. Authorities say that from January through September 2014, Derrickson distributed in excess of 100 suspected images and videos of child pornography to other Skype Messenger users.

More From New Jersey 101.5 FM