WICHITA, Kan. (KAKE) - A 49-year-old convicted sex offender has been sentenced to 40 years in prison for convincing a child to send him sexually explicit photos. 

The U.S. attorneys office in Kansas says Clinton Wade McElroy, of Ellis, pleaded guilty in May to one count of production of child pornography. 

Between May and June of last year, McElroy "persuaded an 8-year-old child to produce sexually explicit images and send them to him through an online game and various messaging applications," a news release said.

The FBI and the Ellis County Sheriff's Office investigated the case. 

According to Kansas Department of Corrections records, McElroy was convicted in 2018 for sexually exploiting a child. That crime was committed in December of 2015. He was released last December.