Madagascar's constitutional court dismissed the country’s parliament's impeachment of President Hery Rajaonarimampianina on Saturday, ending hopes of an early election among opposition lawmakers.
The court said the move was "unfounded," and may create political crisis in the Indian Ocean state.
Madagascar's parliament voted to impeach Rajaonarimampianina in late May, alleging constitutional violations as well as incompetence on his part and that he failed to deliver promised reforms.
Rajaonarimampianina's opponents also accuse him of stalling on the establishment of a high court and dragging the church into politics when half of Madagascar's population are not Christians.
Rajaonarimampianina was elected at the end of 2013 after the country's first democratic elections since 2006. The country fell into chaos in 2009 when his predecessor Marc Ravalomanana was ousted in a coup.
The mineral-rich country has been struggling to rebuild its economy after losing donors and investors following the military coup.
Madagascar is one of the world's poorest countries, despite its reserves of nickel, cobalt, gold, uranium and other minerals, and suffers from regular power cuts.