Joko Widodo wins second term as Indonesia's president

Indonesia's Joko Widodo has been re-elected as president of the world's third-biggest democracy, the elections commission said on Tuesday, beating rival Prabowo Subianto, a retired general who has vowed to challenge any victory for the incumbent leader.

The commission was expected to announce the official results of the April 17 poll on Wednesday in the Southeast Asian nation of 260 million.

But amid fears about unrest and street demonstrations in response to the final count, the final tally was released early with little advance notice.

Widodo and his vice-presidential running mate Ma'ruf Amin won the election by a 55.5 per cent to 44.5 per cent margin over Subianto and Sandiaga Uno, the elections commission said.