Joko Widodo has been re-elected as Indonesia’s president after last month’s vote, beating former general Prabowo Subianto.
The result was released a day ahead of schedule in the early hours of Tuesday, amid fears of unrest.
Around 32,000 security personnel were deployed across the capital Jakarta, AFP news agency reports.
Mr Prabowo rejected the result and said he would pursue “legal avenues”, but urged his supporters to stay calm.