SIOUX FALLS, S.D. (KELO) — A 45-year-old South Dakota man — accused of making child pornography at the Kyle Juvenile Detention Center — has reached a plea deal.

On Thursday, Shayne Begay pleaded guilty to two counts of receiving child pornography. For each count, he faces a minimum of 5 years in federal prison.

According to court documents, Begay admits to putting his phone in a clear plastic bag and secretly shooting videos of two girls showering in 2021. A news release from the U.S. Attorney’s Office says Begay worked as a correctional officer.

A sentencing date has not been set.