Defeated Indonesian presidential candidate Prabowo Subianto is set to lodge a challenge to the result of the April 17 election in the Constitutional Court on Friday after complaining that the vote was rigged.

President Joko "Jokowi" Widodo won 55.5 percent of votes in the poll to lead the world's third-biggest democracy, beating retired general Prabowo, who got 44.5 percent, the General Election Commission (KPU) said on Tuesday.

After the announcement, Prabowo repeated earlier claims that there had been widespread cheating in favor of the incumbent and thousands of his supporters demonstrated in the capital this week to protest against the result.