Madagascar's military ruler Col Michael Randrianirina has dissolved the government unexpectedly, dismissing the prime minister and the entire cabinet, according to a statement from his spokesperson.

"The government has ceased its functions" it said, adding that Randrianirina will appoint a new prime minister "in line with the provisions stipulated by the constitution".

No reason was given for the move.

Randrianirina seized power last October from Andry Rajoelina, following weeks of youth-led protests on the Indian Ocean island. Rajoelina had been elected president for a third term in a disputed poll in 2023.

The demonstrations were over persistent power and water shortages, culminating in the army siding with the demonstrators.