As Anies Baswedan and Ganjar Pranowo, his two opponents, swore to challenge the outcome, Mr. Prabowo made a call for unity.
The former general received 58.59% of the vote, ending decades of accusations that he had violated human rights.
By portraying himself as a cute grandfather in TikTok videos, he had won over people who were aware of social media.
The 72-year-old stated, “Give us a chance, people who didn’t vote for us,” following the electoral commission’s official count announcement on Wednesday night.
“We will demonstrate that, as president and vice president, we are committed to doing everything in our power to benefit all Indonesians.
Following the election on February 14, Mr. Prabowo declared victory after unofficial counts revealed he had a sizable advantage over his competitors. Over the previous few weeks, world leaders have also praised him.
US Secretary of State Antony Blinken praised Indonesians for “their robust turnout and commitment to democracy and the rule of law” on Wednesday, extending his “sincere congratulations” to them.