At least 116 people are now known to have died in a fight between rival gangs in Ecuador's jail, officials say, making it the worst prison violence in the country's history.
At least five inmates were decapitated in Tuesday's clashes in the city of Guayaquil, while others were shot dead.
Police commander Fausto Buenaño says the prisoners also threw grenades.
It took 400 police officers to regain control of the jail, which houses inmates linked to global drug gangs.
Local media report that the uprising was ordered by powerful Mexican drug trafficking gangs that are now operating in Ecuador.
Ecuador's prisons service director Bolivar Garzon told local radio the situation was "terrible".
"Yesterday, police took control at 1400 [local time], but last night there were other shootings, other things, explosions and today in the morning we took total control, we are entering the pavilions where there was conflict and discovering more bodies," he said.
It is the latest in a series of deadly incidents involving rival gang members fighting for control of prisons. In February, 79 prisoners were killed in simultaneous fights.
The Litoral Penitentiary, where the latest deadly fight took place on Tuesday night, is considered one of the most dangerous in the country.
Mr Buenaño said that inmates from one wing of the prison had crawled through a hole to gain access to a different wing, where they attacked rival gang members.
More than 80 inmates were injured.
Police managed to reach six cooks who had been trapped in the wing where the fight unfolded and get them to safety.
President Guillermo Lasso has declared a state of emergency in the country's prison system.
The Litoral Penitentiary holds inmates from Los Choneros, an Ecuadorean gang that is thought to have links with Mexico's powerful Sinaloa drugs cartel.
But another Mexican criminal group, the Jalisco New Generation cartel (CJNG), is also trying to forge alliances with Ecuadorean gangs to seize control of drug smuggling routes leading from Ecuador to Central America from its Sinaloa rivals.
In July, President Lasso said that Ecuador's prison system was 30% overcapacity.
He announced plans to expedite the process of releasing those inmates who had served most of their time or had committed minor crimes in order to ease the overcrowding.
Latest Stories
-
WAFU B U-17 Girls’ Cup: Black Maidens beat Nigeria on penalties to win inaugral tournament
21 minutes -
Real Madrid beat Sevilla to keep pressure on leaders Atletico
1 hour -
Liverpool put six past Spurs to go four points clear
1 hour -
Manchester United lose 3-0 at home to Bournemouth yet again
1 hour -
CHAN 2024Q: ‘It’s still an open game’ – Didi on Ghana’s draw with Nigeria
2 hours -
CHAN 2024Q: Ghana’s Black Galaxies held by Nigeria in first-leg tie
3 hours -
Dr Nduom hopeful defunct GN bank will be restored under Mahama administration
3 hours -
Bridget Bonnie celebrates NDC Victory, champions hope for women and youth
3 hours -
Shamima Muslim urges youth to lead Ghana’s renewal at 18Plus4NDC anniversary
4 hours -
Akufo-Addo condemns post-election violence, blames NDC
4 hours -
DAMC, Free Food Company, to distribute 10,000 packs of food to street kids
6 hours -
Kwame Boafo Akuffo: Court ruling on re-collation flawed
6 hours -
Samuel Yaw Adusei: The strategist behind NDC’s electoral security in Ashanti region
6 hours -
I’m confident posterity will judge my performance well – Akufo-Addo
6 hours -
Syria’s minorities seek security as country charts new future
7 hours