A two-day prison uprising in southern Brazil has ended after the death of five inmates.

Mara de Carli is a press officer of the Justice Secretariat of Parana state. She says the uprising that began Sunday at the Cascavel penitentiary ended early Tuesday morning with the transfer of some 800 inmates to other prison facilities.

She says the transfer was the main demand presented by the inmates. She did not know if other demands such as better food and more flexible visiting hours had been met.

Two inmates were beheaded during the riot and three others were thrown to their deaths from the prison roof.

De Carli says two prison guards held hostage have been released and treated for non-life-threatening injuries.

At least 600 inmates took part in the rebellion.