JERUSALEM (AP) — Israeli Prime Minister Benjamin Netanyahu said Sunday he was heading into a meeting with his top coalition partner in a “last effort” to prevent the collapse of his government, which has been rocked by the resignation of its defense minister over a cease-fire agreement with Gaza militants.

Speaking at his weekly Cabinet meeting, Netanyahu said it would be unwise to embark on a divisive election campaign during such a sensitive time for Israeli security. He said he would try to convince Finance Minister Moshe Kahlon and his centrist Kulanu party to stay in the fold.

“It would be both unnecessary and incorrect to go to elections. We remember well what happened when elements inside the coalitions took down Likud governments in 1992 and in 1999,” he said, noting the past two elections in which the Labor Party came to power.

“We need to do everything we can to prevent repeating these mistakes,” he added.

The sudden coalition crisis was sparked by the resignation of Israel’s hard-line Defense Minister Avigdor Lieberman, who had demanded a far stronger response last week to the most massive wave of rocket attacks on Israel since the 2014 Israel-Hamas war. He alleges the truce will put southern Israel under a growing threat from Hamas, similar to that posed to northern Israel by Lebanon’s heavily armed Hezbollah group.

The departure of Lieberman and his Yisrael Beitenu party leaves the coalition with a one-seat majority in the 120-member parliament. Netanyahu’s other partners say that makes governing untenable and would leave the coalition susceptible to the extortion of any single lawmaker until elections scheduled for November 2019.

Education Minister Naftali Bennett, of the pro-settler Jewish Home party, has already threatened to bring down the government if he is not appointed defense minister. Kahlon says another year of such instability will harm the economy.

Netanyahu is trying to convince them to stay, and his Likud allies are already preparing to pin the blame on them if that effort fails.

“I think that there is no reason to shorten the term of a national government, not even for one day, and at this moment it’s in the hands of the education minister and the finance minister,” said Gilad Erdan, the minister of public security.

No Israeli government has served out its full term since 1988. Since then, elections have almost always been moved up because of a coalition crisis or a strategic move by the prime minister to maximize his chances of re-election.

Though Netanyahu has been reportedly flirting with the idea of moving up elections himself in recent months, the current timing is not ideal for him.

He has come under heavy criticism for agreeing to the Gaza cease-fire, especially from within his own political base and in the working-class, rocket-battered towns in southern Israel that are typically strongholds of his Likud Party. But with Lieberman forcing his hand and the other coalition partners appearing eager to head to the polls he may not have a choice.

Most opinion polls show Netanyahu easily securing re-election, which would secure him a place in Israeli history as the country’s longest-serving leader. But several factors could trip him up, including a potential corruption indictment that could knock him out of contention.

Police have recommended he be indicted on bribery and breach of trust charges in two cases and have questioned him at length on another. The country has long been eagerly awaiting the attorney general’s decision on whether to press charges.

Netanyahu has angrily dismissed the accusations against him, characterizing them as part of a media-driven witch-hunt that is obsessed with removing him from office.