Mexico City: Four people were killed and six were injured on Tuesday in a riot in a prison in the Mexican city of Victoria in the drug gang-ravaged state of Tamaulipas on the US border, authorities said.

“Those number are preliminary because the operation continues, there are still state police inside the prison inspecting the dormitories,” Luis Alberto Rodriguez, spokesman on security issues for Tamaulipas, told journalists.

Television footage showed helicopters overhead and concerned family members gathered outside the prison, as heavy gunfire could be heard coming from the compound.

Rodriguez said authorities had observed “rising tensions” between opposing gangs in the prison over recent days and had information that they were smuggling in weapons.

He said the inspection operation had turned up two high-calibre weapons and a regular firearm.

“An intervention was planned which consisted in bringing state police into the prison and having federals support from the outside,” said Rodriguez, adding that if authorities had not intervened the number of casualties would have been higher.

Those killed in the violence were two state police officers, one security guard and an inmate, said Rodriguez. He had previously said three police officers and one security guard had died.

Turf wars between the rival Gulf Cartel and Zetas gangs have racked the state for years, and in recent years some of Mexico’s worst drug violence has hit Tamaulipas.