Indonesian presidential candidate Prabowo Subianto said Tuesday he was withdrawing from the election process and would mount a legal challenge to the result, as his opponent Joko Widodo was poised to be declared the winner.