Two former presidents of Madagascar, Andry Rajoelina and Marc Ravalomanana, came out top in the country's latest election, results showed on Saturday, and are set to compete in a run-off next month.Neither won the 50% of votes required for a first-round victory, with Rajoelina on 39.19% and Ravalomanana on 35.29%, according to final results from the CENI election commission.The run-off is scheduled for December 19.Hery Rajaonarimampianina, who was running to hold onto power, secured only 8.84% of the vote, the commission said, before adding that the turnout at last week's election was 54.3%.All three candidates, of a total 36, have alleged fraud and malpractice by election authorities, and the result will be subject to fierce legal appeals."We have adopted three rules of conduct: transparency, impartiality and independence," CENI president Hery Rakotomanana said as the final results were announced on the Indian Ocean island."We have not accepted any orders from anyone in this election... no favours have been given to anyone."Both leading candidates hope to claim a first-round victory through the courts.Rajoelina on Saturday described the count as not transparent, adding "that will not prevent us from winning."Ravalomanana'scampaign welcomed the results, but Hanitra Razafimanantso, an official from his TIM party, said it "would make use of the right of appeal to the Constitutional Court in view of election irregularities."The court will proclaim the official results after reviewing candidates' complaints.Madagascar is one of the world's poorest countries, according to World Bank data, with almost four in five people living in grinding poverty.But the frontrunners spent huge sums in the first round on flashy campaign rallies, helicopters and giveaways such as free T-shirts for supporters. Past political violence A European Union observer mission said on Monday that it had "noted candidates committed breaches" ahead of the November 7 poll, but concluded that the election was well organised overall. Both Ravalomanana and Rajoelina were banned from running in the last election in 2013 under international pressure to avoid a repeat of deadly political violence that engulfed the island in 2009.Ravalomanana, 68, and Rajoelina, 44, are bitter rivals. It is the first time they have faced each other at the ballot box.Ravalomanana ruled from 2002 to 2009 until he was ousted in a military-backed coup that installed Rajoelina, who was in power until 2014.Rajaonarimampianina succeeded him, ruling until earlier this year.Rajaonarimampianina's attempts to change the electoral laws this year backfired, sparking nearly three months of sometimes violent protests in the capital Antananarivo.The demonstrators forced Rajaonarimampianina to accept a "consensus" government tasked with organising the election in the former French colony, which is burdened by a long history of coups and unrest.African Union (AU) observers have called on the contenders to "show restraint and respect the law".* Sign up to News24's top Africa news in your inbox: SUBSCRIBE TO THE HELLO AFRICA NEWSLETTERFOLLOW News24 Africa on Twitter and Facebook.