When Joko Widodo took power in Indonesia 10 years ago, his victory brought relief as well as celebration. It was not merely that the former Jakarta governor was the first president to be elected from outside the political or military elite. It was also that he defeated ex-general Prabowo Subianto, who had attacked direct elections and said that he would take the country in a more authoritarian direction. There was every reason to take that threat seriously. Mr Prabowo was dismissed from the military – and barred from entering the US – due to allegations of the abduction and torture of activists by men in his unit, though he has always denied involvement.
Yet now, as the president leaves office, Mr Prabowo is set to replace him – thanks in large part to his former rival’s (unofficial) support. With 205 million voters and 820,000 polling stations spread across the thousands of islands in the world’s fourth most populous nation, completing the final tally could take weeks. But Mr Prabowo, currently defence minister, enjoys a commanding lead in “quick counts” by independent polling firms, which have proved accurate in previous contests. That suggests he will not face a runoff.