A riot in a penitentiary in coastal city of Guayaquil has killed 24 and injured 48 more, Ecuadorian officials say.
A police and military operation managed to regain control of the Guayaquil Regional prison after five hours, according to a statement on Tuesday from Ecuador's prison service.
Guayas state Governor Pablo Arosemena said at a news conference outside the prison that order had been restored.
"The presence of the state and the law must be felt," he said.
The violence involved gunfire, knives and explosions was caused by a dispute between the "Los Lobos" and "Los Choneros" prison gangs.