Israel's opposition parties say they have agreed to form a coalition government. If approved by parliament, they could unseat Prime Minister Benjamin Netanyahu.
Yair Lapid, the leader of the largest opposition party Yesh Atid, made the announcement on Wednesday -- about 30 minutes before the deadline for him to form a majority coalition.
Lapid said he had reported to the Israeli president the agreement reached among eight parties, including the right-wing party Yamina, as well as leftist and Arab parties.
Under the agreement, the leader of Yamina, Naftali Bennett, will serve as prime minister for two years until he will be succeeded by Lapid in August 2023.
A parliamentary vote on the plan is expected to take place soon.
The focus is on whether the coalition will be approved as it would face opposition from Netanyahu's right-wing Likud party and others.
Negotiations aimed at forming a coalition have been deadlocked since a general election -- the country's fourth in two years -- was held in March.
Netanyahu's party won the largest number of seats. But he failed to put together a new governing coalition by the deadline. Netanyahu has been in office since 2009.