Mexican authorities have issued arrest warrants for five security agents in connection with the torture of a young woman that was caught on video.

The federal Attorney General's Office says the warrants target three Federal Police officers and two soldiers. Two of the officers were taken into custody Tuesday and the soldiers will be served with the warrants at a military prison where they are already being held.

The video circulated widely on social media recently, prompting widespread condemnation as well as apologies from Mexico's defense minister and national security commissioner.

The footage shows a female soldier interrogating the woman, pulling her hair and putting the muzzle of a rifle against her head. Later, a female police officer suffocates the woman by putting a plastic bag over her head.