Updated

Brazilian officials say inmates at a southern prison have returned to their cells and ended a 24-hour rebellion that injured at least 12 prisoners.

Officials say the trouble at the Parana state prison ended Wednesday morning when authorities agreed to study a list of prisoner demands. Among the demands are conjugal visits, better food and improved conditions.

On Tuesday, television images showed inmates clambering across the prison rooftop dragging several hostages — all fellow inmates — with bound wrists and dangling them off the edge.

The G1 news portal says three inmates were thrown off the roof. It says one is hospitalized in serious condition with head trauma.

G1 says 1,140 inmates are held at the Londrina prison, which was designed for 928.