Indonesia's President Joko Widodo has beaten rival Prabowo Subianto to win a second term in office, the country's elections commission has said, in an announcement that came hours before opposition protesters were set to protest against the final results of last month's vote.
The formal result was nearly the same as the preliminary "quick count" results drawn from a sample of polling stations on election day.
Tensions have also spiked high since police said last week that they arrested dozens of Islamic State-linked terror suspects - including some who planned to cause chaos by detonating bombs at any post-election protests.
On Friday, the USA embassy in Jakarta issued a heightened security alert for Indonesia, the world's biggest Muslim majority nation which has long wrestled with Islamist militancy.
Heavily armed security stood guard outside the election commission in central Jakarta, some accompanied by police dogs.
There was also a small rally at the KPU in support of the election commission. It said Widodo won 55.5 percent of the vote in the April 17 election to 45.5 percent for his challenger, ultra-nationalist former general Prabowo Subianto.
Widodo held off declaring victory after the unofficial results last month as Prabowo insisted he was the victor.
On Tuesday, he rejected the official results, but called on supporters to remain calm as he pursued "legal avenues" - candidates have three days to file a formal complaint at Indonesia's Constitutional Court.
The losing party can lodge a challenge at Indonesia's Constitutional Court, although similar action in 2014 ultimately failed.
Honor 20, Honor 20 Pro, Honor 20 Lite launched: Price, specifications, features
Most notably, the aperture size of the Honor 20 Pro's main module is f/1.4 which makes it larger than most of its competitors. This phone packs the same Kirin 980 ARM chip as the P30 Pro along with 8GB of RAM, 256GB of storage, and a 4,000 mAh battery.
England Star David Willey Gutted After World Cup Snub
Top-ranked team England , who open the tournament against South Africa at The Oval, have never won a global 50-over trophy. Archer, whose father is English, only became eligible for England this year after a change to the ECB's rules in November.
Johanna Konta reaches Italian Open final after victory over Kiki Bertens
British No. 1 Konta struggled to trouble Pliskova on serve as she fell to a seventh loss in eight meetings between the players. As for Pliskova, she has played her fair share of tough matches in the past, and this one will be no different.
"(Subianto) and his camp are harping on minor deficiencies and very micro problems, clearly in an attempt to sway public opinion and delegitimise Widodo".
On Tuesday, thousands of Subianto supporters marched through the streets and held a peaceful protest outside the election supervisory agency's office - as police in riot gear looked on.
"Authorities have been anticipating this", he added.
This year's campaign was punctuated by bitter mudslinging and a slew of fake news online - much of it directed at the presidential contenders.
Repeating his tactics following the 2014 loss, Subianto declared himself the victor not long after the election.
Indonesian presidential candidate Prabowo Subianto declared himself the victor of last month's election, based on his campaign's own counts.
Meanwhile, Prabowo Subianto, who ran with young businessman Sandiaga Uno as his sidekick in the election, earned over 68.6 million votes, according to KPU.
Joko Widodo earned over 85.6 million votes, legally enabling him to serve presidency until 2024 with Ma'ruf Amin as his deputy.