Benjamin Netanyahu has offered to step down as Israel's prime minister in return for a senior position in the next government and a promise to return as leader.
Mr Netanyahu made an 11th-hour offer to govern with Gadi Eisenkot, his main rival, in a power-sharing rotation, marking the clearest sign yet that the Israeli leader was contemplating defeat.
Mr Eisenkot is already on the cusp of agreeing an alternative coalition that would end Mr Netanyahu's premiership by early next week.
On Saturday, Mr Netanyahu said: "Naturally, I should lead the unity government, or at least be first in the rotation.
"But given the gravity of the existential danger and the possibility that a government will be formed that lacks the ability to confront it, my responsibility as a leader requires me to set everything aside... and agree that Gadi Eisenkot will serve first as prime minister, while I will serve as alternate prime minister at the beginning of the term."
Responding to the offer, Mr Eisenkot said he was ready to meet for talks in the next 24 hours but added that he was close to agreeing an alternative path to power.
He said he had sent a detailed proposal "through a secret channel" to Likud, Mr Netanyahu's party, last week but received no reply. He said attempts to negotiate in recent weeks had been "met with refusal and evasion".
Mr Eisenkot is already on the cusp of agreeing an alternative coalition that would end Mr Netanyahu's premiership early next week - Jack GUEZ/AFP via Getty Images
Before Mr Netanyahu's offer, Mr Eisenkot's allies had been preparing for him to become the new prime minister.
A coalition to replace Mr Netanyahu has been taking shape since Israel's inconclusive general election a month ago, with a series of formal deals between factions in the so-called "change bloc" in recent days.
White House officials were reportedly on standby to arrange a meeting with the new prime minister once his government had been confirmed through a vote in the Knesset.
Mr Netanyahu, Israel's longest-serving premier, was said to fear that only a "miracle" could save him now.
Mr Netanyahu cast his intervention as an attempt to stop Arab parties from gaining power after a record number of Arab MPs were sworn into the Knesset following the elections.
Mr Eisenkot would be likely to need some Arab support to form a government without Mr Netanyahu's party.
Referring to the new MPs, Mr Netanyahu said: "What we are seeing in the Knesset today is only the beginning. This will happen in the government too. Without firing a single shot, hostile forces will take over the country from within.
"To pave the way for this disastrous government, some members of parties that support terrorism speak softly in Hebrew, while in Arabic they all express full support for terrorist organisations and the destruction of Israel."
He said he was ready to begin "genuine, sincere, and accelerated negotiations" on a new coalition.
Mr Eisenkot's fellow opposition leaders warned him not to contemplate Mr Netanyahu's offer.
Yair Lapid, the co-leader of B'Yachad, the next largest opposition party, described it as a "transparent con" and called Mr Netanyahu a "serial deceiver who has cheated every partner and broken every agreement".
Opposition voices cautioned that Mr Netanyahu was not serious about a rotating deal and would attempt to lure Mr Eisenkot into talks to damage his credibility.
Avigdor Lieberman, the secular Right-wing leader of Yisrael Beiteinu, who loathes Mr Netanyahu and is determined to get rid of him, has already signed a deal and appears to have secured both defence and justice briefs.
Meanwhile, Yair Golan, the centre-Left Democrat leader and another former high-ranking general, is in line to be the national security minister, among other lesser portfolios.
As the only Jewish party to advocate for the rights of Palestinians, the appointment has the potential to unlock significant change in the West Bank, where settler violence is out of control.
Israeli officials are increasingly concerned that it is this issue, above even Gaza, that is damaging the country's international standing and long-term security.
Naftali Bennett, the Right-leaning joint leader of Beyachad, who served as prime minister in 2021-2022, is in line to be finance minister but could be tempted by a Netanyahu coalition.
The four Jewish-led opposition parties have 48 seats between them, short of the 61 needed to form a working Knesset majority.
It is hoped that they would be joined by Ra'am, one of the Arab-Israeli parties, which has eight seats, and United Torah Judaism, one of the ultra-Orthodox factions that had previously supported Mr Netanyahu's coalition, which has seven seats.
It is possible that they may not formally join the change coalition, but instead strike a deal whereby they would support a minority government from the outside.
On Friday, it was rumoured that Mansour Abbas, the Ra'am leader, would formally denounce Hamas as a terrorist organisation on Saturday. This was a key demand of Mr Eisenkot and would remove a major obstacle in the way of a deal.
Try full access to The Telegraph free today. Unlock their award-winning website and essential news app, plus useful tools and expert guides for your money, health and holidays.