Both candidates claimed victory in Indonesia's presidential election on Wednesday, suggesting there could be a drawn-out constitutional battle to decide who will next lead the world's third-largest democracy.

Just a few hours after voting closed, Jakarta Gov. Joko "Jokowi" Widodo said he had won, based on what are widely seen as independent quick counts of more than 90 percent of the votes. A victory for him would be seen as a triumph for a new breed of politician that has emerged in Southeast Asia's biggest economy, and increase the promise of reform in government.

But former Gen. Prabowo Subianto, the rival candidate seen as a representative of the old guard that flourished under decades of autocratic rule, pointed to a quick count by other pollsters naming him the winner.