Gregory Pyle, a McHenry County Sheriff's sergeant, is charged with sexually assaulting a child in his family. (Credit: McHenry County Sheriff's Office)

ROCKFORD, Ill. (CBS) — A McHenry County sheriff’s deputy who once investigated child pornography is now up on charges himself.

As WBBM Newsradio’s Regine Schlesinger reports, Sgt. Gregory Pyle was once McHenry County’s lead investigator on child pornography. But now, he is accused of taking explicit photos of a 10-year-old boy and transmitting them online.

LISTEN: WBBM Newsradio’s Regine Schlesinger reports

https://chicago.cbslocal.com/wp-content/uploads/sites/15116062/2012/08/mp3_bc_-wav_carts_deputy-v1-regine-8-15-12.mp3

He allegedly sexually abused the boy on several occasions, and took him to Wisconsin in 2008 for the purpose of abusing him and producing the pornography.

Pyle, 36, stands charged in Rockford U.S. District Court with aggravated sexual abuse of a child and producing child pornography by sexual exploitation of a child.

This is not the first child sex-abuse related charge against Pyle. He was also arrested in January and accused of sexually assaulting a young boy.

Pyle allegedly forced a juvenile related to him to perform sex acts on him several times between 2006 and 2010, said Michael Combs, chief of the McHenry County State’s Attorney’s criminal division. The child was under the age of 13.

It is not clear whether this was the same boy with whom Pyle allegedly produced the pornography.

As a sheriff’s deputy, Pyle was a member of the Illinois chapter of the Internet Crimes against Children Task Force — a subset of the U.S. Department of Justice and the Center for Missing and Exploited Children.

Pyle has been relieved of his law enforcement duties and is on administrative leave.

The Sun-Times Media Wire contributed to this report.

(TM and © Copyright 2012 CBS Radio Inc. and its relevant subsidiaries. CBS Radio and EYE Logo TM and Copyright 2012 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed. The Associated Press contributed to this report.)