DALE COUNTY, Ala (WDHN) — On Monday, a Dale County man pled guilty to two counts of Production of Child Pornography.

Daniel Gilley was arrested in August 2019 and charged with four counts of the production of pornography with a minor and three counts of possession of porn material of a minor. He has been in the Dale County Jail since his arrest on a $1,774,000 bond.

According to a complaint, Gilley filmed him and a female under 17 performing sexual acts.

In Monday’s plea agreement, two of the four counts of production of pornography with a minor and all three counts of possession of porn material of a minor were dropped.

Gilley was sentenced to 22 years in prison.