The election commission said Jakarta Governor Joko Widodo – widely known as Jokowi – won 53.15% of the vote with his rival, ex-general Prabowo Subianto, on 46.85%.
Earlier, Prabowo Subianto alleged widespread electoral fraud and vowed to challenge the result.
Joko Widodo has promised a decisive break with Indonesia’s authoritarian past and better social welfare for the poor.
Before the official results were confirmed, the chairperson of Joko Widodo’s PDI-P party, Megawati Sukarnoputri, claimed victory on behalf of the candidate and his running-mate Jusuf Kalla.
“I want to declare that we, the party that supports and puts forward Joko Widodo and Jusuf Kalla, has won,” Megawati Sukarnoputri told reporters on Tuesday evening.
Indonesia’s politics has traditionally been dominated by establishment figures from the political elite and military.
A former furniture-maker who grew up in a small village, Joko Jokowi, 53, is seen as a clean politician in touch with the masses. The Jakarta governor has proved to be particularly popular with urban and rural youth.
Joko Jokowi’s rival Prabowo Subianto is a former general closely associated with the traditional elite. He had the backing of media tycoons.
A former son-in-law of Indonesia’s ex-leader Suharto, Prabowo Subianto has faced multiple questions over alleged human rights abuses.
Jubilant supporters took to Twitter with congratulatory messages for Joko Widodo, using the hashtag #presidenbaru (New President).
Meanwhile about 100 supporters of Prabowo Subianto held a peaceful protest about 1,000ft from the election commission building in Jakarta, declaring Prabowo Subianto the real president, the Associated Press reports.
Prabowo Subianto said earlier on Tuesday that his camp would not resort to violence as it challenges the results.
Security was tight for the announcement, with more than 250,000 police officers on duty across the nation, amid fears that supporters from both camps would clash.
About 130 million votes were cast on July 9 following an intense election campaign.
It was followed by a controversial vote-counting period in which both candidates raised concerns about voting irregularities.
But Joko Widodo’s winning margin of 6% win is seen as decisive by analysts.
They say that even if Prabowo Subianto’s claim of electoral fraud in certain areas proved to be true, this would be unlikely to change the overall results.
Prabowo Subianto has three days to file an appeal with Indonesia’s constitutional court. The court has till August 22 to make a ruling on the results.
n4rTtlWw3zA qguEkb-vX7sImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…