GALVESTON, Texas (AP) — A Southeast Texas sheriff's deputy has been fired after being accused of having sex with a female inmate.

The Galveston County Sheriff's Office says 32-year-old Ruben Ornelas was indicted on a charge of improper sexual contact with an inmate.

Sheriff Henry Trochesset (TRAHS'-uh-set) has said the deputy was accused of having sexual contact with the inmate as she was transported from jail to a courthouse.

Investigators didn't release details on the inmate or specifics of the incident that allegedly happened in May. The investigation began in June and Ornelas was put on paid administrative leave.

Ornelas was fired after being indicted last Thursday. He surrendered the following day and was freed on $2,000 bond. Online jail records don't list an attorney to speak on his behalf.