Israeli nationalist hardliner Naftali Bennett said Sunday he would join a potential coalition government that could end the rule of the country's longest-serving leader, Prime Minister Benjamin Netanyahu.
Lawmakers opposed to right-wing Netanyahu have been in intense talks ahead of a Wednesday deadline, as a ceasefire held following the latest deadly military conflict with Islamist group Hamas in the Gaza Strip.
Netanyahu, 71, who faces trial on fraud, bribery and breach of trust charges, which he denies, has clung to power throughout a period of political turmoil that has seen four inconclusive elections in under two years.
A March vote saw Netanyahu's Likud party gain the most seats but he again failed to form a government.
Opposition leader and former TV anchor Yair Lapid now has until Wednesday evening to build a rival coalition.
Lapid, 57, is seeking a diverse alliance the Israeli media has dubbed a bloc for "change", which would include Bennett as well as Arab-Israeli lawmakers.
In his determination to bring down the hawkish prime minister, Lapid has offered to share power and let Bennett, 49, serve the first term in a rotating premiership.
Bennett, after meeting members of his religious-nationalist Yamina party, said Sunday: "I will do everything to form a national unity government with my friend Yair Lapid."
Lapid and Bennett's parties started talks on Sunday night to formalise the deal, they said in a statement.
Religious-nationalist Yamina won seven seats in March 23 elections, but one member has refused to join an anti-Netanyahu coalition.
Netanyahu, who has been in office for 12 consecutive years after an earlier three-year term, in his own televised address minutes later lashed out at the plan, calling it "a danger for the security of Israel".
'Desperate position'
He had earlier Sunday tried to cling to power by offering his own, last-ditch power-sharing agreement to several former allies including Bennett.
He warned Israel would otherwise be ruled by a dangerous "left-wing" alliance.
Lapid has until Wednesday 11:59 pm local time (2059 GMT) to build a coalition of at least 61 deputies, a majority in the 120-seat Knesset.
A Lapid government would also include the centrist Blue and White party of Netanyahu's rival Benny Gantz and the hawkish New Hope party of his former ally Gideon Saar.
Avigdor Lieberman's pro-settlement Yisrael Beitenu party as well as historically powerful Labour and the dovish Meretz party would also join.
The shaky arrangement would need the backing of some Arab-Israeli lawmakers of Palestinian descent in order to pass a confirmation vote in parliament.
The intense talks follow weeks of escalating tensions between Israel and the Palestinians, including a deadly 11-day exchange of rocket fire from Gaza and devastating Israeli airstrikes.
The war with Hamas that ended with a May 21 truce, as well as violence in the occupied West Bank and in mixed Jewish-Arab towns in Israel, initially appeared to leave Netanyahu more likely to hold onto power.
But political scientist Gayil Talshir at Hebrew University told AFP on Sunday that Israel was now "closer than ever" to a coalition of change, adding: "Netanyahu is in a desperate position".
Netanyahu's Likud party won 30 seats in the March elections but failed to form a governing coalition after his far-right partners refused to sit with Arab factions or receive their support.
Lapid, whose party won 17 seats, was then given four weeks to form a government.
Netanyahu had previously pushed for yet another election -- Israel's fifth in a little more than two years.
More elections?
On Sunday Netanyahu offered his own proposal of a rotation agreement with Bennett and Saar. But Saar on Twitter said he remained committed to "replacing the Netanyahu regime".
Netanyahu in a video then called on Saar and Bennett to "come now, immediately" to meet him and join a three-way rotation government, warning they were "in crucial moment for the security, character and future of the state of Israel".
Lapid's "change" coalition also still faced several obstacles.
Some right-wing lawmakers object to a partnership with politicians from Israel's Arab minority, around a fifth of the population.
The recent Gaza conflict sparked inter-communal clashes between Jewish and Arab Israelis in mixed cities.
Arab politicians have also been divided about joining a government headed by Bennett, who supports expanding Israeli settlements in the occupied West Bank, where Palestinians hope to create a state.
Even with support from an Arab party, a new coalition in Israel is unlikely to reverse years of Israeli settlement construction or bring peace any time soon with Hamas in Gaza.
If the anti-Netanyahu camp does not manage to form a government on time, a majority of 61 lawmakers could vote to ask the president to name a new premier.
Another scenario would see the country return, yet again, to the polls.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
"Far From Over" But Joe Biden Has High Hopes For Gaza Ceasefire US Warns Iran Faces "Cataclysmic" Consequences If It Strikes Israel Blinken Heading To Israel To Press Gaza Truce Video: Woman Tries To Jump Off Mumbai's Atal Setu, Saved By Driver, Cops Parents Gave Names Of Interns, Doctors To CBI In Kolkata Horror: Sources Private Jets, Luxury Cars: Lavish Life Of "Ketamine Queen" Jasveen Sangha How This Modest Indian Snack Became A Worldwide Superfood UGC NET Exam To Begin From August 21, Admit Cards To Be Out Soon Kolkata Rape-Murder: 5 Demands Of Doctors On 24-Hour Nationwide Strike Track Latest News Live on NDTV.com and get news updates from India and around the world.