Former Indonesian general Susilo Bambang Yudhoyono has been declared the official winner of last month's first direct presidential election.
Mr Yudhoyono takes office later this month
An election commission official confirmed on Monday that Mr Yudhoyono won 61% of the vote, against incumbent Megawati Sukarnoputri's 39%.
However Mr Yudhoyono cancelled a victory speech when Mrs Megawati did not concede defeat as expected.
The new president - a former security chief - will be sworn in on 20 October.
A spokesman for Mr Yudhoyono said he wanted to wait until Mrs Megawati had spoken before he declared victory, in the interests of national reconciliation.
An aide to Mrs Megawati said the outgoing president fully accepted the election result and would "speak at the right time".
"If that indeed is the result, I thank the people of Indonesia," Mr Yudhoyono told reporters in his first comments after officially being declared the winner.
Mr Yudhoyono, who resigned from Mrs Megawati's government earlier this year, did not formally claim victory, but made it clear he was preparing to take over.
INDONESIA'S NEXT PRESIDENT
Widely referred to by initials SBY
Former general and security minister
Image as man of action may have won voters over
Now faces tasks of tackling regional unrest and terrorist threat
"I will arrange the make-up of the next government and a programme for the first 100 days," he said.
"Our big theme will be reconciliation and working together within democracy for the country's future."
The official result was confirmed by Sussongko Raharjo, deputy secretary general of Indonesia's election commission.
He said 114m votes had been cast in the poll, which has been widely praised as peaceful and fair.
Mr Yudhoyono faces a number of difficult tasks once he is in office. He has said his priorities are the economy, tackling widespread corruption, and creating jobs.
Correspondents say he owed his victory to his image as a man of integrity, a strong communicator and firm leader in times of crisis.
But there have also been concerns about his decisiveness, and his small support base inside the country's National Assembly.