Indonesian President Joko Widodo won reelection in last month's poll, an official count showed, throwing the spotlight on his opponent who refused to concede as his supporters gathered in the capital in protest at the result.
The General Election Commission confirmed unofficial counts by private pollsters in the April 17 election, giving Widodo a 55.5 percent share of votes against 44.5 percent for Prabowo Subianto.
Widodo won more than 85 million votes of 154 million cast in the world's third-largest democracy, but Prabowo said he believed there had been widespread cheating and about 1,000 supporters gathered in a peaceful protest.
An election supervisory agency dismissed claims of cheating, and independent observers said the poll was free and fair.
Flanked by riot police, Prabowo's supporters gathered mainly at the election supervisory agency in the heart of Jakarta's commercial and government district.
There was also a small rally in support of the election commission.
A relaxed looking President Widodo pledged to be a leader for all Indonesians.
"We are grateful and proud that amid our differences, we have been mature in keeping the peace," he said on a visit to a poor neighborhood of the capital.