Israel's opposition leader Yair Lapid said he had succeeded in forming a broad-based coalition to oust Prime Minister Benjamin Netanyahu, the country's longest-serving leader.

Israeli opposition leader Yair Lapid faces a midnight Wednesday deadline to secure a majority for a new government that would end the record rule of right-wing Prime Minister Benjamin Netanyahu
Israeli opposition leader Yair Lapid faces a midnight Wednesday deadline to secure a majority for a new government that would end the record rule of right-wing Prime Minister Benjamin Netanyahu POOL / DEBBIE HILL

Should it be confirmed by the 120-member Knesset legislature in the coming days, it would end the long reign of the hawkish right-wing leader known as Bibi, who has long dominated Israeli politics.

Lapid's announcement late Wednesday came in the final hour before a midnight deadline, following marathon negotiations with a group of parties spanning the political spectrum, united only in their desire to oust Netanyahu.

Israeli Prime Minister Benjamin Netanyahu is fighting for his political life
Israeli Prime Minister Benjamin Netanyahu is fighting for his political life POOL / YONATAN SINDEL

"I succeeded," Lapid, a former TV news anchor, wrote on Facebook. "I promise that this government will work in the service of all of the citizens of Israel, those who voted for it and those who did not."

The right-wing nationalist tech millionaire Naftali Bennett, 49, would serve first as prime minister in a rotation agreement, with Lapid to take over after two years.

The proposed anti-Netanyahu coalition will need the support of some Arab lawmakers as well as Yamina leader Naftali Bennett, a longstanding champion of Jewish settlement building in the occupied territories
The proposed anti-Netanyahu coalition will need the support of some Arab lawmakers as well as Yamina leader Naftali Bennett, a longstanding champion of Jewish settlement building in the occupied territories POOL / YONATAN SINDEL

"With the help of God we will do together what is good for Israel and we'll get Israel back on track," Bennett told Israel's President Reuven Rivlin after Lapid had informed Rivlin of their coalition.

The opposition leader and his partners now have at least a week before lawmakers must vote to confirm their government -- a period during which Netanyahu and his Likud party are expected to try to do what they can to prevent it.

The leader of the Israeli Yemina party, Naftali Bennett, has agreed to join the anti-Netanyahu bloc
The leader of the Israeli Yemina party, Naftali Bennett, has agreed to join the anti-Netanyahu bloc POOL / YONATAN SINDEL

Should last-minute defections scupper the "change" alliance, Israel would likely have to hold yet another election, the fifth in just over two years.

Israeli Prime Minister Benjamin Netanyahu is the country's logest serving leader
Israeli Prime Minister Benjamin Netanyahu is the country's logest serving leader POOL / YONATAN SINDEL

Lapid, who heads the secular centrist party Yesh Atid, last Sunday won the crucial support of Bennett, head of the Yamina "Rightward" party.

An Israeli border guard at a closed checkpoint leading to the Palestinian village of Nilin west of Ramallah in the occupied West Bank, amid a protest on May 29 against Israeli settlers' seizure of lands in the area
An Israeli border guard at a closed checkpoint leading to the Palestinian village of Nilin west of Ramallah in the occupied West Bank, amid a protest on May 29 against Israeli settlers' seizure of lands in the area AFP / ABBAS MOMANI

To build the anti-Netanyahu bloc, Lapid had to sign individual agreements with seven parties.

They include the hawkish New Hope party of Netanyahu's former ally Gideon Saar, and right-wing secular nationalist Avigdor Lieberman's Yisrael Beitenu party.

Members of the Ezz-Al Din Al-Qassam Brigades, the armed wing of the Palestinian Hamas movement, parade with an anti-tank weapon in Rafah in the southern Gaza Strip on May 28
Members of the Ezz-Al Din Al-Qassam Brigades, the armed wing of the Palestinian Hamas movement, parade with an anti-tank weapon in Rafah in the southern Gaza Strip on May 28 AFP / SAID KHATIB

Also part of the alliance are the Labor party, the dovish Meretz party, and the centrist Blue and White party of Defence Minister Benny Gantz, who unsuccessfully challenged Netanyahu in three previous votes.

Gantz, who tweeted it was a "night of great hope," headed to Washington for pre-scheduled talks Thursday on Iran with US officials including Secretary of State Antony Blinken.

Timeline of main developments in Israel's political deadlock in 2019.
Timeline of main developments in Israel's political deadlock in 2019. AFP / Gal ROMA

The change alliance also includes the Arab Israeli Islamic conservative party Raam, whose head Mansour Abbas late Wednesday announced that he had joined in order to secure funding and policies to benefit Israel's 20 percent minority of Palestinian descent.

"I just signed an agreement with Yair Lapid so that he can declare that he can form a government after reaching... agreements on various issues that serve the interest of Arab society," he said.

Other Arab lawmakers supported the late prime minister Yitzhak Rabin from outside his coalition in the 1990s, but Abbas was the first Arab politician in Israel to openly bargain for a role in the coalition, said political analyst Afif Abu Much.

Abu Much noted that lawmakers with other parties representing Arab citizens of Israel announced they would oppose the government headed by Bennett, a strong supporter of Jewish settlements in the West Bank.

Lapid was tasked with forming a government after Netanyahu failed to put together his own coalition following March elections, the fourth inconclusive vote in less than two years.

In an editorial, The Jerusalem Post warned that "the hard part is just beginning" for the disparate coalition but said it "has a chance to really change Israel for the better" after years of political turmoil.

Wednesday night's deal deepens the woes of Netanyahu, 71, who is on trial for criminal charges of fraud, bribery and breach of trust while in office -- accusations he denies.

If he loses power, he will not be able to push through changes to basic laws that could give him immunity, and will lose control over certain justice ministry nominations.

The premier, who served an earlier three-year term in the 1990s, has long been the dominant figure of Israeli politics and was close to former US president Donald Trump.

Netanyahu clinched historic normalisation agreements with four Arab states and unrolled a hugely successful Covid-19 vaccination campaign.

But he has not engaged in substantive peace talks with the Palestinians, who have been angered by Israel's deepening control of areas they eye for a future state.

Escalating tensions between Israel and the Palestinians last month spiralled into a deadly 11-day exchange of rocket fire from Gaza and devastating Israeli air strikes.

Netanyahu defiantly condemned the alliance against him as "the fraud of the century" last Sunday, warning that it would result in "a left-wing government dangerous to the state of Israel".