Indonesian President Joko Widodo says he has won re-election after receiving an estimated 54 per cent of the vote, backtracking on an earlier vow to wait for official results after his challenger made improbable claims of victory.
Widodo, after meeting with parties in his coalition, told reporters that the leaders of Malaysia, Singapore, Turkey and numerous other nations have congratulated him on securing a second term.
The vote estimate is based on so-called quick counts of a sample of polling stations by a dozen reputable survey organisations.
Widodo said that 100 per cent of sample polling stations have now been counted or close to that. The quick counts have been accurate in previous elections.
"We all know that the QC (quick count) calculation is a scientific calculation method. From the country's experiences of past elections the accuracy is 99.9 per cent, almost the same as real count results," Widodo said.
Widodo's rival, former General Prabowo Subianto, claims he won 62 per cent of the vote in Wednesday's election based on his campaign's own counts, repeating a similar claim when he lost to Widodo in 2014.
The Election Commission is required to release official results by May 22.
Widodo said he had sent a representative to talk to Subianto and his camp.
The country's security minister and its military and police chiefs said earlier on Thursday that they will crack down on any attempts to disrupt public order while official results from presidential and legislative elections are tabulated.
Security minister Wiranto, who uses a single name, told a news conference with the chiefs of police and all military branches that security forces will "act decisively" against any threats to order and security.
He said the voter turnout of 80.5 per cent gives the winner of the presidential election "high legitimacy."
National police chief Tito Karnavian said the Election Commission and courts are the appropriate institutions for resolving complaints about the election.
Subianto's hard-line Muslim supporters plan mass prayers in central Jakarta on Friday but it was unclear if the event will be allowed to go ahead.
"I appeal to everybody not to mobilise, both mobilisation to celebrate victory or mobilisation about dissatisfaction," Karnavian said.
The election was a huge logistical exercise with 193 million people eligible to vote, more than 800,000 polling stations and 17 million people involved in ensuring the polls ran smoothly. Helicopters, boats and horses were used to get ballots to remote and inaccessible corners of the archipelago.
Voting ran smoothly, apart from a few districts where logistical problems caused delays, and was peaceful, a remarkable achievement for a country steeped in political violence.
Widodo's campaign highlighted his progress in poverty reduction and improving Indonesia's inadequate infrastructure with new ports, toll roads, airports and mass rapid transit. The latter became a reality last month in chronically congested Jakarta with the opening of a subway.