According to the outlet, Mahafaly announced his resignation at about 9:00 a.m. local time (06:00 GMT) at the palace of Mahazoarivo. The new prime minister is to be appointed on Tuesday, the media outlet added.
Another local media, Madagascar Midi, reported that Rajaonarimampianina had agreed to appoint a new prime minister presented by the opposition MAPAR party, but put forward several conditions for the new candidature.
The conditions include possessing extensive experience in the domain of public administration, having no record of ultra-political activity and not originating from the province of Antananarivo. Earlier in May, MAPAR already tabled a list of candidates, but the president refused to choose anyone from the list.
Madagascar has been in a state of political crisis since the onset of violent protests in late April. The rallies initially sought to protest new laws which allegedly prevented the opposition from taking part in the elections, but later turned into demands for Rajaonarimampianina’s resignation. The president has not yet announced whether he will run for another term.
Madagascar is to hold its general election on November 24 and presidential vote on December 24.