Nearly complete results in Indonesia's presidential elections showed Jakarta governor Joko Widodo leading with 52 percent of the vote.

If Widodo holds that edge, that would put him ahead of Prabowo Subianto, a former general, who also has claimed victory.

Election Commission officials are preparing to announce the winner of the July 9 vote later Tuesday after counting results from the last five provinces.

More than 130 million eligible voters across 33 provinces took part in the elections to choose the country's next president.

About 3,400 policemen were deployed to guard the commission's building in downtown Jakarta as commissioners and witnesses representing both sides finalized the vote count.