SNOW HILL, N.C. (AP) — Authorities in Greene County have accused a state correctional officer of having sexual contact with an inmate.

Greene County Sheriff Lemmie Smith told local media outlets that 28-year-old Shirley Foote of Greenville is charged with sex act at a government or private institution by an employee, and with disorderly conduct. Foote was a correctional officer at Maury Correctional Institution.

Smith says Foote’s arrest follows an investigation which began in May into sexual contact with an inmate at the prison.

The state Department of Public Safety says Foote resigned on Thursday, the same day she was arrested. She had been a correctional officer since November.

Foote is in jail on a $50,500 bond, and it’s not known if she has an attorney. She was scheduled to appear in court on Friday.