Jerusalem: Prime Minister Benjamin Netanyahu was on track for victory in Israel's election on Wednesday after nearly complete results put him in position to form a right-wing coalition and further extend his long tenure in office.\r\n\r\nThe results from Tuesday's vote came despite corruption allegations against the 69-year-old premier and placed him on a path to become Israel's longest-serving prime minister later this year.\r\n\r\nHis close ally President Donald Trump, who has swung US policy sharply in Israel's favour and openly backed Netanyahu, said the prime minister's victory gives the White House's long-awaited peace plan a "better chance."\r\n\r\nNetanyahu's Likud party looked set to finish with a similar number of seats in parliament to his main rival, ex-military chief Benny Gantz's centrist Blue and White alliance.\r\n\r\nBut the results showed the Likud and other right-wing parties allied to the prime minister with some 65 seats in the 120-seat parliament.\r\n\r\nFinal results were expected on Thursday, with ballots for soldiers and other special categories of voters yet to be counted.\r\n\r\nThe results would seem to leave President Reuven Rivlin, who must ask one of the candidates to form a government, with little choice but to pick Netanyahu.\r\n\r\nIntensive coalition negotiations will follow and could drag on for days or even weeks.\r\n\r\nRivlin said he would begin consultations with party heads next week ahead of making his decision.\r\n\r\nHis office said that to show transparency the consultations would be broadcast live in their entirety for the first time.\r\n\r\nThe close race between the two main parties had led to uncertainty after polls closed Tuesday night and exit surveys were released.\r\n\r\nBoth Netanyahu and Gantz claimed victory after the initial exit surveys that gave Blue and White the most seats.\r\n\r\nBut even then Netanyahu appeared best placed to form a coalition, with both parties falling far short of an outright majority.\r\n\r\n- 'Magnificent victory' -\r\n\r\nNetanyahu spoke in the early hours of Wednesday at the Likud's post-election party in Tel Aviv and called it a "magnificent victory."\r\n\r\nAs he walked onto the stage to chanting crowds, he planted a kiss on the lips of his wife Sara.\r\n\r\n"It will be a right-wing government, but I will be prime minister for all," he said.\r\n\r\nEarlier while addressing cheering supporters who waved Israeli flags at an event hall in Tel Aviv, Gantz urged Rivlin to ask him to form the government.\r\n\r\nBut speaking to journalists outside his home on Wednesday morning, Gantz backed away without fully conceding.\r\n\r\n"We're waiting until the end of the results," he said.\r\n\r\n"This is a historic accomplishment. There has never been a party so large, so significant, with so many good people that was founded in such a short period of time."\r\n\r\nThe vote had long been expected to be close, even with Netanyahu facing potential corruption charges.\r\n\r\nFighting for his political life, Netanyahu spent the weeks ahead of the vote campaigning furiously to energise his right-wing base.\r\n\r\nBesides Trump, other Netanyahu allies including Indian Prime Minister Narendra Modi, Italy's Deputy Prime Minister Matteo Salvini and Austrian Chancellor Sebastian Kurz offered congratulations.\r\n\r\nGantz, a newcomer to politics, mounted a strong challenge by brandishing his security credentials while pledging to undo damage he says Netanyahu has inflicted on the country with divisive politics.\r\n\r\nThe election was in many ways a referendum on the premier who has built a reputation as guarantor of the country's security and economic growth, but whose populism and alleged corruption left many ready for change.\r\n\r\nHe engaged in populist rhetoric critics said amounted to the demonisation of Arab Israelis and others.\r\n\r\nTrue to form, Netanyahu issued a controversial pledge only three days before the election, saying he planned to annex Jewish settlements in the occupied West Bank should he win.\r\n\r\nExtending Israeli sovereignty on a large scale in the West Bank could end already fading hopes for a two-state solution with the Palestinians.\r\n\r\nIt is a move long championed by Israel's far right.\r\n\r\n- 'King Bibi' -\r\n\r\nNetanyahu sought to portray himself as Israel's essential statesman during the campaign and highlighted his bond with Trump.\r\n\r\nHe spoke of Trump's recognition of Jerusalem as Israel's capital and of Israel's claim of sovereignty over the annexed Golan Heights.\r\n\r\nTrump's plan for Israeli-Palestinian peace is expected to be released in the coming weeks.\r\n\r\nNetanyahu also used Trump-like tactics, calling the corruption investigations a "witch hunt" and denouncing journalists covering them.\r\n\r\nGantz, a 59-year-old former paratrooper, invoked the corruption allegations against the premier to make his case that it was time for him to go.\r\n\r\nHe called Netanyahu's annexation pledge an "irresponsible" bid for votes.\r\n\r\nGantz said he favoured a "globally backed peace agreement" with Israel holding on to the large West Bank settlement blocs, adding he opposed unilateral moves.\r\n\r\nHe sought to overcome Netanyahu's experience by allying with two other former military chiefs and ex-finance minister Yair Lapid.\r\n\r\nNetanyahu has been premier for a total of more than 13 years.\r\n\r\nBut "King Bibi," as some have called him, now faces the prospect of becoming the first sitting prime minister to be indicted.\r\n\r\nThe attorney general has announced he intends to charge Netanyahu with bribery, fraud and breach of trust pending an upcoming hearing.