A Casper man faces a minimum 30 years in prison after pleading guilty to three child sex crimes during a hearing in Natrona Couty District Court on Thursday.

Stefan Wayne Voltaire, 37, pleaded guilty to two counts of first-degree sexual abuse of a  minor and one count of possession of child pornography, during his change of plea hearing before District Judge Catherine Wilking.

Voltaire told Wilking that he inserted his finger into the same girl twice in June 2017, and took pictures of her.

In exchange for his plea, Assistant District Attorney Kevin Taheri and public defender Rob Oldham agreed he would serve two concurrent -- or at the same time -- prison terms of 30 years to 50 years, and an eight-year sentence for possession of child pornography, also to be served at the same time as the other sentences.

The prosecutor and defense attorney also agreed 10 other counts of first-degree and third-degree sexual abuse of a minor would be dismissed at his sentencing.

Wilking said she is not bound by the plea agreement, and could dismiss it at sentencing. If that happens, the guilty plea will be withdrawn and the case would go to trial.

If the case had gone to trial and he was convicted on all counts, he could have faced a sentence of up to 400 years.

According to court records, a Casper police detective began investigating on March 1 after Voltaire's then-girlfriend found inappropriate pictures of the victim on a computer belonging to Voltaire.

The victim's mother told the detective that she came across photos which showed Voltaire's hands on the victim. Several of the photos depicted sexual intrusion, while others allegedly showed sexual contact, according to court records.

Voltaire allegedly told investigators that he had joined an "online erotic community" and participated in a "game" created by other members. The "game" was to find incest pornography videos and create "erotica" videos for others to view, according to the affidavit.

Voltaire remains in custody on bond.

More From K2 Radio