A woman who worked as a contract health services administrator at the Casper Re-Entry Center has admitted to having an illegal sexual relationship with an inmate while she was employed.

Andrea Nicole Morgan, 45, pleaded guilty Wednesday morning in Natrona County District Court to one count of third-degree sexual assault. A charge of second-degree sexual assault was dropped as part of an agreement with prosecutors.

That plea deal, Assistant District Attorney Trevor Schenk said, calls for a suspended two- to four-year prison sentence and three years of supervised probation.

At Morgan's sentencing hearing, the state may ask that her sentence include time at the Casper Re-Entry Center.

It's a conditional plea, Schenk explained, meaning it was entered with the understanding that Morgan would be able to appeal a particular legal issue.

The Wyoming Department of Corrections began investigating the case in April 2016. At that time, Morgan said the victim was her boyfriend, but it was a new relationship that had begun after she was no longer working at CRC.

CRC employees and inmates told the investigator that the victim and Morgan spent a significant amount of time together in the medical department. Witnesses reported Morgan and the victim shared meals, which was a violation of CRC policy.

Morgan resigned as health services administrator effective April 1, 2016, having submitted her resignation in early March 2016.

Morgan told the investigator that she had no sexual contact with the victim whatsoever and had no plans to be with him before his release.

When interviewed, the victim told the investigator a different story.

He reportedly said he had kissed Morgan numerous times while at CRC.

A second investigator interviewed Morgan on April 28. During that interview, Morgan admitted that she had sexually touched the victim at CRC sometime before Christmas 2015.

The victim later corroborated Morgan's admission.

Morgan remains free on $5,000 bond pending sentencing.