Madagascan troops have put down a three-day mutiny, storming an army base and arresting dissident soldiers behind a coup attempt.
Eyewitnesses say gunshots and explosions rang out as 400 soldiers launched the assault on the army barracks where 20 or so renegades were holed up.
The rebels announced on Wednesday that a military council was now in charge of the Indian Ocean island, but failed to win any support for their coup.
The government says the rebellion has been crushed and the rebels have surrendered without bloodshed.
Madagascar's president, Andry Rajoelina, came to power following a coup in March 2009.
Mr Rajoelina has been isolated by the international community, and the African Union suspended Madagascar from the bloc and imposed sanctions on him and his backers for failing to honour accords to end the crisis.