At least six inmates died during a prison riot between rival cartels in Mexico on Wednesday, including one of the former leaders of a gang blamed for the 2014 disappearance of 42 student teachers.

Members of the Jalisco New Generation Cartel and Los Rojos clashed for a second consecutive day after one prisoner was killed and two others were injured at jail in Xochitepec, a city in the state of Morelos.

Wednesday's riot at the Atlacholoaya Social Reintegration Center left another two inmates injured. They were taken by helicopter to a nearby hospital.

Gruesome pictures surface on social media of bloodied prisoners strewn on a hallway floor. Another terrifying photo showed a severed head lying on the ground next to a pair of bodies.

Mexican outlets published images of prison guards lying on the ground, while another picture showed half a dozen correction officers being forced to kneel as they were surrounded by inmates wielding sticks.

Inmates at the Atlacholoaya Social Reintegration Center surround a group of prison guards

At least six inmates were killed as a result of violent clashes between two rival cartels at a prison in central Mexico on Wednesday

Inmates at the Atlacholoaya Social Reintegration Center in Morelos, Mexico, revealed images where they appear to be milling around the bodies of rival prisoners during Wednesday's riot

Videos of the violent rebellion showed two presumed prisoners hunkering down inside a bathroom.

Another video revealed the moment a group of inmates Atlacholoaya Social Reintegration Center are interrogating another prisoner about an attack.

Morelos state police and soldiers from the Mexican army and National Guard militarized police were sent in to regain control of the prison.

A group of prisoners at the Atlacholoaya Social Reintegration Center in central Mexico watch over several jail guards that were subdued during a rebellion between two rival cartels

Still image from a video shows the moment two prisoners hid inside a jail bathroom

Eight correction officers at the Atlacholoaya Social Reintegration Center in central Mexico were forced to get on the ground after inmates took control of the prison during a riot between two cartel

Interior Secretary Pablo Ojeda Cardenas told reporters that no guns were used by the inmates in the attack.

'Some 350 security personnel were deployed for the implementation of the national security protocols, and full and total control (of the prison) was regained,' Morelos authorities said in a statement.

Security forces walk past one of the six prisoners killed Wednesday during a prison riot between members of the Jalisco New Generation Cartel and Los Rojos. At least seven inmates have died at the jail in the last two days

A prison clash in central Mexico left at least six inmates dead on Wednesday

Raymundo Isidro, the former Morelos state leader of criminal gang Guerreros Unidos leader and a lieutenant of the Jalisco New Generation Cartel, who was arrested in May, was among those who were killed, the statement added.

In 2014, Guerreros Unidos mistook 43 student teachers in the southwestern city of Iguala in the state of Guerrero for members of a rival outfit, killed them, incinerated their bodies in a nearby garbage dump and tipped their remains into a river.

The abduction and apparent massacre of the youths, widely believed to have been committed by corrupt police working with the violent drug gang on the night of September 26, 2014, drew international outrage and condemnation of the administration of former President Enrique Peña Nieto.

Since Isidro led Guerreros Unidos in Morelos, he is not thought to have participated in the abduction or massacre of the student teachers.

Spiraling violence, including homicides on track to hit a new record in 2019, is one of the most pressing issues facing the administration of President President Andrés Manuel López Obrador.