Shortly after 4 a.m. Sunday, the two patrol officers found the woman and two men having sex in a compact car, officials said. Police threatened to arrest the group but then let the men leave and told the woman that they would take her home.

While taking her home in a patrol car, the officers allegedly forced the woman to perform oral sex on one of them in exchange for letting her go free.

Once released, the woman called the police emergency number and reported the incident, officials said.

The woman allegedly identified Alferez and Escobar at the Valle district police station where the officers were arrested and charged.