Brazil prison riot
People seek information about family members who are prisoners after a riot inside the Regional Recovery Center in Altamira, Brazil, Monday, July 29, 2019. At least 57 prisoners were killed by other inmates during clashes between organized crime groups in the Altamira prison in northern Brazil Monday with 16 of the victims being decapitated, according to prison officials. Image Credit: Wilson Soares/Panamazonica via AP

RIO DE JANEIRO:  At least 57 inmates were killed in a prison riot in northern Brazil on Monday as rival gang factions fought each other, an official said.

At least 16 of the dead were decapitated in the second major eruption of violence to rock the country's severely overpopulated and deadly prison system in as many months.

Fighting broke out in the Altamira Regional Recovery Center at around 7:00 am (1000 GMT), an official from the Para state government's penitentiary department told AFP.

Two guards were taken hostage during the clashes that ended at around midday. They were eventually freed.

BRAZIL regional Recovery Center, a prison, in Altamira0212
A police helicopter flies over the Regional Recovery Center, a prison, in Altamira, Para state, Brazil, Monday, July 29, 2019. Authorities say at least 52 prisoners were killed by other inmates during a riot, and that some of the victims were decapitated while others asphyxiated. Image Credit: Wilson Soares/Panamazonica via AP

Footage broadcast by SBT Altamira purportedly showed thick black smoke rising from the prison compound and people sitting on the roof of a building.

In May, at least 55 prisoners were killed in several jails in the neighboring state of Amazonas in violence also blamed on an apparent gang dispute.

Brazil Most of the victims were killed by asphyxiatio 0121
Most of the victims were killed by asphyxiation, the state government said at the time. Image Credit: AP

Most of the victims were killed by asphyxiation, the state government said at the time.

The federal government dispatched reinforcements to boost security in the jails.

Brazil has the world's third largest prison population after the United States and China, with 726,712 inmates as of June 2016, according to official statistics.

The population is double the capacity of the nation's jails, which in the same year was estimated to be 368,049 inmates.

The federal government had been expected to add another 115,000 inmates by the end of 2018, Human Rights Watch said in a recent report.

Along with severe overcrowding and gang violence, riots and breakout attempts in Brazil's prisons are not uncommon.