Benjamin Netanyahu appeared to be headed toward a historic fifth term as Israel's prime minister on Wednesday, with close-to-complete unofficial election results giving his right-wing Likud and other nationalist and religious parties a solid majority in parliament.

The outcome affirmed Israel's continued tilt to the right and further dimmed hopes of a negotiated solution to the Israeli-Palestinian conflict. Re-election will also give Netanyahu an important boost as he braces for the likelihood of criminal charges in a series of corruption scandals.

BETO O'ROURKE CALLS ISREALI LEADER NETANYAHU A 'RACIST'

With 97.4% of the vote counted, Likud and its traditional political allies were in command of a 65-55 majority in parliament. A couple of small parties were still teetering along the electoral threshold and fighting for their survival, so the final makeup of the next parliament has yet to be decided. In any case, the country now faces what could be weeks of political negotiations over the composition of a ruling coalition.

But under nearly every scenario, Netanyahu was the big winner.

The long-time Israeli leader had fought a tight, ugly race against centrist ex-military chief Benny Gantz, whose nascent Blue and White party emerged as a viable alternative to Netanyahu's decade in power. The near-final results showed it deadlocked with Likud at 35 seats. But most of its support seems to have come at the expense of the venerable Labor and leftist Meretz parties, who both earned historic lows in Tuesday's election.

Together with his current Jewish ultra-Orthodox and nationalist partners, Netanyahu should have no trouble building a coalition government that has a majority in the 120-seat parliament.

With a victory, Netanyahu would capture a fourth consecutive term and fifth overall, which this summer will make him Israel's longest-ever serving leader, surpassing founding father David Ben-Gurion.

"It's a night of tremendous victory," Netanyahu told supporters early Wednesday. "I was very moved that the nation of Israel once again entrusted me for the fifth time, and with an even greater trust."

He said he had already begun talking to fellow right-wing and religious parties about forming a new coalition.

"I want to make it clear, it will be a right-wing government, but I intend to be the prime minister of all Israeli citizens, right or left, Jews and non-Jews alike," he said.

Netanyahu's message of unity was a sharp contrast from his campaign theme in which he accused Gantz of conspiring with Arab parties to topple him. Arab leaders accused Netanyahu of demonizing the country's Arab community, which is about 20 percent of the population.

His attacks on the Arab sector fueled calls for a boycott and appeared to result in relatively low turnout by Arab voters.

Though the Palestinian issue was rarely mentioned in the raucous campaign, Netanyahu had in the final stretch pledged for the first time to annex parts of the occupied West Bank in a desperate bid to rally his right-wing base. Netanyahu has welched on election eve promises before, but should he follow through on this one, it would mark a dramatic development and potentially wipe out the already diminishing hope for Palestinian statehood.

The 69-year-old prime minister has been the dominant force in Israeli politics for the past two decades and its face to the world. His campaign has focused heavily on his friendship with President Donald Trump and his success in cultivating new allies, such as China, India and Brazil.

CLICK HERE FOR THE FOX NEWS APP

But his corruption scandals created some voter fatigue. Along with two other former military chiefs on his ticket, Gantz was able to challenge Netanyahu on security issues, normally the prime minister's strong suit, while also taking aim at the prime minister's alleged ethical lapses.

Israel's attorney general has recommended charging Netanyahu with bribery, breach of trust and fraud in three cases. He will only decide on indicting him after a legally mandated hearing. Legal experts expect at least some charges to be filed, which could set the stage for a short term for Netanyahu and another round of elections soon.