A detention officer in Cochise County is himself behind bars after police say he had illegal sexual contact with an inmate.

Jose Brian Moreno is facing two counts of unlawful sexual contact in the incident.

The investigation began on Sunday, Sept. 1, after authorities received a tip that Cochise County Detention Officer Moreno had sexual contact with a female inmate. The investigation determined the incident was consensual, Sierra Vista Police say, but contact between an inmate and detention officer is illegal under Arizona law.

Moreno was arrested on Monday, Sept. 9, and booked into the Cochise County Jail. He resigned from his position with CCSO the same day, police say.

Cochise County Sheriff Mark Dannels released a statement on the incident after Moreno's arrest: