ANTANANARIVO, Oct 14 (Reuters): An army commander who led a mutiny in Madagascar said on Tuesday the military had taken power after President Andry Rajoelina was impeached by lawmakers and forced to flee the country following weeks of youth-led protests.

Rajoelina had refused to step down despite escalating Gen Z demonstrations demanding his resignation and widespread defections in the army.

"We have taken the power," Colonel Michael Randrianirina declared on national radio and said that the military was dissolving all institutions except the lower house of parliament or National Assembly.

Randrianirina later told reporters a committee led by the military would rule the country for a period of up to two years alongside a transitional government before organising new elections.

"The following institutions are suspended: the Senate, the High Constitutional Court, the Independent National Electoral Commission, the High Court of Justice, and the High Council for the Defense of Human Rights and the Rule of Law," a statement from the country's military leaders said.

In a day of turmoil for the nation off southern Africa's coast, the 51-year-old leader, whose whereabouts are unknown, earlier sought to dissolve the lower house by decree.

But lawmakers went ahead with a vote to impeach him, leaving the country in a constitutional deadlock which the military seized upon to declare they were taking charge.

Rajoelina, who himself came to power in a coup in 2009, condemned the power grab by the military in a statement.

Photo from Reuters