Mediators said Israel and Hamas have agreed to pause the fighting in Gaza starting Sunday after 15 months of war and to begin exchanging dozens of hostages held there for Palestinians imprisoned by Israel.

Israeli Prime Minister Benjamin Netanyahu had yet to confirm on Tuesday that the deal had been finalized. But the ceasefire could eventually bring an end to the bloodiest and war ever fought between Israel and Hamas, one that transformed the wider region and leaves the decades-old at the heart of the turmoil unresolved.

Israel struck major blows, but ‘total victory’ still appears elusive

Israel can point to countless tactical victories in the war, from to and .

But Israel fell short on two central aims: Hamas to date has survived, even if greatly weakened, and several hostages taken captive during Hamas' Oct. 7, 2023, attack died in captivity. Some were , others as troops closed in.

Israelis see the return of captives as a sacred obligation, worth the agonizing price of releasing large numbers of imprisoned militants in lopsided deals. The inability to reach a deal through months of negotiations tore the country apart.

Netanyahu, who promised “total victory†and the return of all the captives, as critics, including some hostage families, accused him of putting ahead of quickly getting them back, allegations he vehemently denied.

The military campaign meanwhile , with the International Court of Justice considering allegations of genocide and the International Criminal Court , his former defense minister and a top Hamas commander, accusing them of war crimes and crimes against humanity.

Israel adamantly denies such allegations, saying it takes every measure to spare civilians and blaming Hamas for their deaths because militants fight in dense residential areas.

Hamas survives, for now, in a ruined Gaza

Hamas said that triggered the war was aimed at returning the Palestinian cause to the forefront of the international agenda, and freeing Palestinian prisoners.

It succeeded in drawing the world's attention, but at a catastrophic cost to Palestinians themselves, with , cities in ruins and dreams of statehood more distant than ever.

in Gaza, mostly women and children, according to local health authorities, who do not say how many of the dead were combatants. The Israeli military says it killed over 17,000 fighters, without providing evidence.

, with bombed-out buildings and mounds of rubble stretching as far as the eye can see. Around 90% of Gaza’s population of 2.3 million people has been displaced, and hundreds of thousands are struggling and disease in squalid tent camps on the coast, according to United Nations officials.

Most of Hamas’ top leaders in Gaza and scores of mid-level commanders have been killed. Its arsenal of rockets appears to have been vastly depleted, and several of its tunnel networks have been demolished.

But it remains the dominant force on the ground and is still carrying out deadly attacks on Israeli troops. U.S. Secretary of State Antony Blinken said this week Hamas has recruited nearly as many fighters as it has lost.

Netanyahu faces new challenges and a possible reckoning

Israel’s ultimate political survivor managed to stay in office and stave off public inquiries after presiding over the worst security and intelligence failure in the country’s history.

That’s because Netanyahu's narrow coalition stuck by him, insisting that politics take a back seat to crushing Hamas.

But his far-right allies have threatened to bring down the government over the release of Palestinian prisoners convicted in deadly attacks on Israelis. Even if they don’t bolt immediately, his position will be less secure than it was when bombs were falling on Gaza.

Netanyahu also would be unable to cite the ongoing war as a reason to postpone a public inquiry into the Oct. 7 attack that could fault his leadership.

But no one is yet writing off Israel’s longest-serving leader.

That’s because Donald Trump is returning to the White House who support Netanyahu’s aim of in the occupied West Bank and potentially annexing it. That could help Netanyahu rally Israel’s dominant nationalist right to his side, keeping him in power at least until elections scheduled for 2026.

No plan for postwar Gaza

It appears that Hamas isn’t going anywhere either.

It after surviving the war and securing the release of prisoners. The militant group founded in the late 1980s is deeply enmeshed in Palestinian society, with a strong presence in the occupied West Bank and refugee camps in Lebanon.

And in Gaza, there is no alternative.

The Biden administration rallied its regional allies behind for to govern and rebuild Gaza with the help of Arab and Muslim countries, including Saudi Arabia, which the White House hopes will take the historic step of normalizing ties with Israel.

But those countries have conditioned their assistance on a pathway to a Palestinian state in Gaza, the West Bank and east Jerusalem, territories Israel seized in the 1967 Mideast war. That’s a nonstarter for Netanyahu’s government, which is opposed to Palestinian statehood.

Netanyahu has said Israel will maintain open-ended security control and partner with politically independent Palestinians to govern Gaza — but none is likely to volunteer, as Hamas has threatened anyone who cooperates with such a plan.

With Hamas still in control of much of the territory, Israel and Egypt are unlikely to lift the blockade they imposed when it took power in 2007. A United Nations body has calculated that if the blockade remains in place, .

A headache for Biden, a triumph for Trump

The war sparked worldwide protests and soaring tensions on U.S. college campuses, dividing the Democratic Party and in November.

Israel’s supporters praised President Joe Biden for standing by an ally in its time of need, while critics accused him of kowtowing to Netanyahu and facilitating war crimes by .

Trump, on the other hand, he delivered on even before his inauguration. His Mideast envoy, Steve Witkoff, joined the negotiations on their home stretch, saying Trump’s election had galvanized the process, while the Biden administration says the agreement is the fruit of its intensive efforts over several months.

Any broader peace in the Middle East remains elusive, and the incoming administration will be charged with shepherding the ceasefire through subsequent — and more difficult — phases.

Trump will also have to decide how far he wants to go in backing Netanyahu’s drive to annex the West Bank and how to confront and its .

And a ceasefire does nothing to address that spawned the war.

The occupied West Bank and a major expansion of Israeli settlements in recent years. In east Jerusalem, a tense arrangement governing a holy site sacred to Jews and Muslims — for which Hamas named the Oct. 7 attack — .

The latest war in Gaza was by far the worst, and it may not be the last.

___

Follow AP’s war coverage at

ºÚÁϳԹÏÍø. All rights reserved.