A Casper man pleaded guilty to two counts of second degree sexual abuse of a minor during a change-of-plea hearing in Natrona County District Court on Friday.

Michael Earnest Andrews, who was 39 at the time of his arrest, entered his plea before District Court Judge Daniel Forgey.

If the case had gone to trial and Andrews was convicted, he could have faced up to 20 years imprisonment and $10,000 fines on each count.

Instead, Assistant District Attorney Brett Johnson and defense attorney Don Fuller agreed Andrews will spend no more than eight years in prison on each count to be served concurrently, or at the same time.

Andrews pleaded not guilty in June.

A sentencing date will be set later.

Andrews remains free on bond.

According to court records, the female victim claimed Andrews touched her inappropriately three times from January 2008 through December 2009. She was born in 2003.

Andrews acknowledged he knew what had happened. In one instance, he said he was under a great deal of stress from having to serve nights in jail on an unrelated matter at the time, and he was having issues with his ex-wife and other child.