A cop called in to break up a brawl at a sex party nearly fainted when he saw his wife was one of the two women involved.

A trio of aspiring police officers in northeastern Mexico were holed up inside a local hotel room when the rendezvous turned into a fistfight.

One of the woman attacked the other, claiming the man had spent more time being intimate with her.

The responding police officer was able to keep his composure despite noticing his wife was one of the women involved in the tryst.

Police officers responded to a 911 call at a hotel in northeastern Mexico late Monday night, and arrested two women and a man who got into a fight during the middle of a sex party

A male cadet (left) aspiring to join the Tamaulipas state police department is restrained

He then rushed his spouse out of the hotel, El Sol de Mexico reported.

The cadets, none of whom have been named but have been pictured, were looking to join the Tamaulipas state police department.

They were arrested and charged with disorderly conduct.

nvestigators say the three future state cops were drinking at a local bar in the town of Ciudad Victoria before booking on a room at Hotel Villa de Aguayo late Monday night.

The cadets had not spent more than two hours at the city center hotel.

According to Mexican news outlet La Prensa, witnesses said hotel employees were cheering on the man and applauding as they heard the trio making noises while they were having sex.

The owner of Hotel Villa de Aguayo called requested police presence after hearing screams and loud sounds of broke bottles emerge from the room where the three police academy cadets were fighting

A woman (bottom left) attempts to free herself from being restrained by two cops

The sex party was interrupted when one of the women thought the man was being more intimate with the other woman.

The heated discussion turned into a violent argument and the hotel owner reported the chaotic scene to 911 after he heard screams and sounds of broken bottles coming from the room.

The cadets were still detained as of Tuesday night as they awaited to pay a fine and cover hotel damages.