JERUSALEM (AP) — Israel and Hamas have reached an agreement for a four-day halt to the devastating war in Gaza, accompanied by the release of dozens of hostages held by the militant group in return for Palestinian prisoners jailed by Israel, mediators said Wednesday.

The truce marks the biggest diplomatic breakthrough since Hamas’ Oct. 7 rampage into southern Israel ignited a war that has devastated vast swaths of Gaza and raised fears of a wider conflict across the Middle East.

The Persian Gulf nation of Qatar, which has played a key role in mediating with Hamas, announced the deal without saying when it would go into effect. Fifty hostages will be released in stages, in exchange for what Hamas said would be 150 Palestinian prisoners held by Israel.

Both sides will release women and children first, and the supply of humanitarian aid flowing into the besieged territory will be ramped up, officials said.

Israel-Hamas War: More Coverage Israel-Hamas war: Live updates Gaza health officials say they lost the ability to count dead as Israeli offensive intensifies Israeli airstrikes on Lebanon kill 2 journalists for a pan-Arab TV channel, 4 Palestinian militants

Prime Minister Benjamin Netanyahu’s office confirmed that Israel’s Cabinet had approved the deal following a six-hour meeting that stretched into Wednesday morning, but made no mention of the release of Palestinian prisoners or increased humanitarian aid.

Netanyahu also said the war against Hamas would resume after the truce expires.

“We are at war, and we will continue the war,” he said. “We will continue until we achieve all our goals.”

A DIPLOMATIC BREAKTHROUGH

The announcement capped weeks of indirect Qatari-led negotiations between Israel and Hamas, an Islamic militant group that has ruled Gaza for 16 years. The United States and Egypt were also involved in stop-and-go talks to free some of the roughly 240 hostages captured by Hamas and other militants during the Oct. 7 raid.

President Joe Biden welcomed the deal, saying Netanyahu has committed to supporting an “extended pause” to make sure that the hostages are released and humanitarian aid can be sent to Gaza.

Qatar’s prime minister and top diplomat, Sheikh Mohammed bin Abdulrahman Al Thani, said he hoped the deal would eventually lead to a permanent cease-fire and “serious talks” on resolving the Israeli-Palestinian conflict.

Israel said that the truce would be extended an extra day for every additional 10 hostages released by Hamas. The International Committee of the Red Cross said it is standing by to assist any swap.

As the full extent of the devastation becomes known and as hostages are released, pressure could grow on Israel to end its war without achieving its goal of crushing Hamas.

Despite the massive destruction across Gaza and the killing of thousands of Palestinian civilians, Hamas will likely present the release of the prisoners as a major achievement and declare victory if the war ends without removing it from power.

In a statement Wednesday, Hamas said hundreds of trucks carrying humanitarian aid — including fuel — would be allowed to enter Gaza. It said Israeli aircraft would stop flying over southern Gaza for the duration of the four-day cease-fire and for six hours daily in the north.

The war erupted in early October, when several thousand Hamas militants broke through Israel’s formidable defenses and poured into the south, killing at least 1,200 people, mostly civilians, and capturing scores more. Israel responded with weeks of devastating airstrikes on Gaza, followed by a ground invasion.

More than 11,000 Palestinians have been killed during the Israeli offensive, according to the Health Ministry in the Hamas-run territory. It does not differentiate between civilians and militants, though some two-thirds of the dead have been identified as women and minors.

The invasion has caused vast destruction in northern Gaza, including Gaza City, displaced over 1.7 million people and caused severe shortages of food, medicine and other basics throughout the territory. Israel cut off all fuel imports at the start of the war, causing a territory-wide power blackout.

Israel has rejected growing international criticism and vowed to press ahead until it destroys Hamas’ military and governing capabilities and all hostages are freed.

RETURN OF HOSTAGES

The return of hostages could lift spirits in Israel, where the plight of the captives has gripped the country. Airwaves are filled with interviews with families of the hostages, who include babies and toddlers, women and children, and people in their 80s with health issues.

The families have become a powerful force in Israel, staging mass demonstrations and marches pressuring the government to bring home their loved ones.

The structure of the deal could limit Israel’s ability to press its offensive, even after the truce expires.

Any pause would give Hamas and its shadowy leader, Yehya Sinwar, a chance to regroup after suffering heavy losses, especially if Hamas drags things out with additional hostage releases.

Israel claims to have killed thousands of Hamas fighters, though it has not presented evidence, and destroyed parts of the group’s underground tunnel system. But Israeli officials acknowledge much of Hamas’ infrastructure remains intact.

A cease-fire could also add to the already growing international pressure on Israel to halt its offensive as the full extent of damage in Gaza becomes apparent. Even the U.S., Israel’s chief backer, has expressed concerns about the heavy toll on Gaza’s civilian population.

Some three-quarters of Gaza’s population has been uprooted from their homes, with most packing into overcrowded and unsanitary shelters.

Many, if not most, will be unable to return home because of the vast damage in the north and the continued presence of Israeli troops there. That could lead to an even worse humanitarian disaster as the cold, rainy winter sets in.

DIVISIONS IN ISRAEL

In Israel, the staggered hostage releases could divide the families of those who are freed from those who remain in captivity. Soldiers are likely to be the last to be freed, and their families may press the government not to resume the offensive until their loved ones return home.

“There are many families and many opinions,” Hadas Kalderon, whose two young children were abducted with their father, told Israel’s Channel 12 TV.

A lengthy truce could also affect Israel’s battle readiness. While Israeli troops are expected to remain in place, it will be difficult and risky for the army to leave its forces stationary behind enemy lines.

Iran-backed armed groups across the Middle East have been drawn into the war, with Lebanon’s Hezbollah trading fire with Israel on a daily basis along the border and Yemen’s Houthi rebels launching drones and missiles as well as seizing an Israeli-linked cargo ship.

Violence has also soared in the Israeli-occupied West Bank, where more than 200 Palestinians have been killed, mainly during gunbattles triggered by Israeli army raids.

On Tuesday, Gaza’s Health Ministry said that as of Nov. 11 it had lost the ability to count the dead because of the collapse of large parts of the health system.

It believes the actual death toll has risen sharply above the official number of 11,000. Some 2,700 people are missing and believed to be buried under rubble, and hospitals have continued to report deaths from daily strikes, often dozens at a time.

The Israeli military says 68 soldiers have been killed in the ground offensive.

___

Goldenberg reported from Tel Aviv, Israel and Magdy from Cairo. Associated Press reporters Najib Jobain in Khan Younis, Gaza Strip; Wafaa Shurafa in Deir al-Balah, Gaza Strip; and Jon Gambrell in Dubai, United Arab Emirates contributed.

___

Full AP coverage at https://apnews.com/hub/israel-hamas-war.

Disclaimer: The copyright of this article belongs to the original author. Reposting this article is solely for the purpose of information dissemination and does not constitute any investment advice. If there is any infringement, please contact us immediately. We will make corrections or deletions as necessary. Thank you.