At his seaside workplace complicated in Doha on Wednesday night, the Qatari prime minister thought he had a deal. Hamas’s negotiators, led by a burly former lawmaker, had left the prime minister’s workplace, having given up on an Eleventh-hour demand that was the final main impediment to a cease-fire in Gaza after 466 days of warfare.
Reporters had begun to assemble in an auditorium downstairs, anticipating to witness the prime minister, Sheikh Mohammed bin Abdulrahman Al Thani, announce that he and different mediators had lastly brokered a deal. Two American envoys joined Sheikh Mohammed as he ready his assertion.
All of the sudden, there was a brand new drawback, based on two individuals accustomed to the negotiations.
In a room elsewhere on the sixth ground, the Israeli delegation, led by the heads of Israel’s two major intelligence companies, had their very own last-minute demand. Prime Minister Benjamin Netanyahu needed to make clear the names of a handful of Palestinian prisoners whom Israel would launch throughout the truce.
As his aides tried to resolve the ultimate hitch, Sheikh Mohammed sat in his workplace with Brett McGurk, President Biden’s lead negotiator, and Steve Witkoff, the consultant of President-elect Donald J. Trump, hoping that their efforts had not been wasted.
This account of the ultimate days of negotiation relies on conversations with 9 individuals concerned in or briefed on the talks, a few of whom spoke on situation of anonymity to debate delicate diplomacy.
The truce that was finally introduced on the belated information briefing, hours after Israel’s new demand, was little completely different to variations promoted for a lot of the previous 12 months by mediators from Egypt, Qatar and the Biden administration, whose representatives met regularly with the opponents in Cairo, Doha and several other European capitals all through 2024.
What pushed the deal over the road this previous week was the unlikely partnership between the envoys of America’s present and future presidents, working in tandem with the Qatari prime minister in marathon late-night conferences. Whereas Mr. Biden and Mr. Trump have competed for credit score, the truth is that their representatives had been each essential to the ultimate push, every utilizing completely different approaches to push the Israeli management towards a deal whereas Sheikh Mohammed centered on Hamas.
Beginning final Sunday, the Israeli and Palestinian delegations, in addition to the 2 Individuals, spent lengthy days on the prime minister’s compound, near the old market in downtown Doha. The delegations, which don’t converse instantly to one another, sat in several rooms on completely different flooring, with Qatari and Egyptian officers passing messages between the 2 sides.
“They aren’t pure companions, however the mixture of those three people, and the three worlds they symbolize, was the one factor that was going to get this executed,” stated Thomas R. Nides, a former U.S. ambassador to Israel. “You wanted stress from all sides — stress from the Arab world, stress from Biden, and stress from Trump.”
It was Mr. McGurk, a veteran diplomat lengthy centered on the Center East, who has helped oversee U.S. mediation efforts for the reason that opening weeks of the warfare and who helped craft the deal’s difficult particulars practically a 12 months in the past. It was Mr. Witkoff, an actual property investor who plays golf with Mr. Trump, who was instrumental in persuading Israel to lastly comply with the deal’s contents. And it was Sheikh Mohammed who persuaded Hamas to make key compromises, whereas offering either side with the workplace area during which to wrangle the ultimate particulars.
The deal they sealed supplies for a pause of a minimum of six weeks within the combating, throughout which period Hamas has agreed to progressively launch 33 of the hostages captured throughout the group’s raid on Israel firstly of the warfare on Oct. 7, 2023. In trade, Israel has dedicated to progressively releasing roughly 1,000 Palestinian prisoners, a few of whom are serving life sentences for homicide, and permitting a whole lot of 1000’s of displaced Gazans to return to their houses.
The deal is extraordinarily just like proposals that the 2 sides practically agreed to between Could and July 2024. These talks broke down amid disputes about whether or not to forge a everlasting or non permanent truce, whether or not and methods to enable displaced Gazans to return residence, how and when Israeli troops would possibly withdraw from Gaza, and the variety of hostages Hamas would possibly launch within the first weeks of a truce.
Because of this, the warfare dragged on, resulting in the killing of tens of 1000’s extra Palestinians, in addition to a number of Israeli hostages.
Critics accused Mr. Netanyahu of sabotaging the talks to keep away from a collapse of his governing coalition, which included lawmakers against a deal. Others stated that Hamas had deliberately extended the negotiations within the hope that Israel would possibly change into entrenched in a wider regional battle with Hamas’s allies in Lebanon, Iran and Yemen. At occasions, Qatar refused to proceed mediating, accusing either side of halfhearted engagement.
Momentum returned after Mr. Trump’s re-election in November, even earlier than the president-elect warned Hamas that there could be “all hell to pay” if the hostages weren’t launched by his inauguration. He appointed Mr. Witkoff, who had no diplomatic expertise however growing business relationships in Qatar, as his emissary within the Center East. Mr. Witkoff had been taking part in golf with Mr. Trump in September throughout what regulation enforcement officers stated was an attempt on the former and future president’s life.
Quietly, members of the Biden administration reached out to Mr. Witkoff to see if they may work collectively on the cease-fire talks, based on two individuals accustomed to the conversations. Regardless of huge political chasms between their bosses, Mr. McGurk and Mr. Witkoff started to coordinate, generally speaking a number of occasions a day, based on one of many individuals.
Nonetheless, large gaps between Hamas and Israel remained. Shortly earlier than Christmas, with simply weeks left within the Biden presidency, Mr. McGurk returned despondently from a visit to Doha. He advised the Qataris that he wouldn’t fly again except Hamas made a transparent sign of its curiosity in a deal, based on two individuals accustomed to his considering.
That second got here within the first days of January, based on two individuals concerned within the course of. Sheikh Mohammed persuaded Hamas to verify the names of greater than 30 hostages who could be launched throughout the first six weeks of a truce, a long-awaited transfer that recommended the group was genuinely all for a deal, the individuals stated. The rationale for Hamas’s shift stays unclear, however analysts say that Israel’s growing dominance over Hamas’s major allies, Hezbollah and Iran, left the group feeling remoted, whereas its personal losses on the battlefield in Gaza left it feeling weakened.
Mr. McGurk was knowledgeable of the breakthrough whereas attending his daughter’s celebration at an indoor trampoline park on Jan. 4, based on two individuals accustomed to the occasion. He left the celebration midway by means of, instantly flying to Doha to fulfill Sheikh Mohammed, his Egyptian counterparts and Israeli negotiators. Mr. Witkoff joined him on Jan. 10, and the pair agreed with Sheikh Mohammed that the Individuals would collectively deal with cajoling Israel whereas the prime minister would press Hamas.
The primary remaining variations centered on the depth of a buffer zone that Israel sought to take care of inside Gaza’s borders, in addition to the variety of prisoners to be exchanged for wounded and sick hostages.
It was a go to at quick discover by Mr. Witkoff to Jerusalem final Saturday, the Jewish Sabbath, that introduced a brand new breakthrough, based on 4 officers briefed on the assembly.
Mr. Witkoff sat with Mr. Netanyahu and senior Israeli officers within the prime minister’s Jerusalem workplace, with Mr. McGurk becoming a member of the dialogue by phone.
The 2 Individuals pressed Mr. Netanyahu to melt on the final two huge obstacles, based on an individual accustomed to the dialogue. Mr. McGurk warned the Israeli chief that he risked dropping his finest probability of sealing a deal. Then Mr. Witkoff utilized the required stress, stressing to Mr. Netanyahu that Mr. Trump needed this deal executed, the particular person stated.
After the assembly, Mr. Netanyahu appeared to have modified his angle, 4 officers stated. He instantly ordered his 4 prime negotiators — together with David Barnea, the pinnacle of Israel’s overseas intelligence company, and Ronen Bar, Israel’s home spy chief — to Doha.
Over the subsequent 4 days, Sheikh Mohammed hosted a marathon sequence of conferences, largely in his private workplace, as Hamas officers, Israeli negotiators, Egyptian intelligence officers and the 2 Individuals spoke with him, generally till the small hours of the morning.
The Israeli and Hamas groups, primarily based on completely different flooring, by no means noticed one another; they took turns coming into the prime minister’s workplace for updates on their enemy’s newest place.
Progress was generally hindered by the character of Hamas’s command construction, which required its leaders in Qatar to examine sure particulars with their counterparts in Gaza, who’re all in hiding and arduous to succeed in.
Mr. McGurk and Mr. Witkoff additionally usually checked in with their respective bosses; at occasions, Mr. McGurk was talking with Mr. Biden whereas Mr. Witkoff, simply yards away, was on the telephone with Mr. Trump or his staff, based on an individual accustomed to the scene.
“We had been negotiating phrase by phrase, sentence by sentence and formulation by formulation,” stated Mohammed Al-Khulaifi, a minister of state within the Qatari overseas ministry. “It turns into exhausting mentally and bodily.”
The largest breakthrough got here near midnight on Sunday evening, based on three individuals accustomed to the second.
Sheikh Mohammed advised the 2 Individuals that the deal could possibly be closed if Israel may make two extra compromises, based on one of many individuals.
Mr. McGurk and Mr. Witkoff walked collectively down the hall to the Israelis’ room, the place the negotiators had been already talking by telephone with Mr. Netanyahu. Becoming a member of the decision, the Individuals advised the Israeli chief {that a} deal could possibly be reached if he agreed to barely improve the variety of prisoners concerned within the swap, in addition to barely lower the depth of the buffer zone.
After a loud debate in Hebrew between Mr. Netanyahu and his staff, they made the compromise.
The Individuals returned to replace Sheikh Mohammed.
“We could have a deal,” the Qatari chief advised the envoys, based on the particular person accustomed to the scene.
After a 12 months of failure, round midnight on Sunday, they thought they’d an settlement, topic to wrangling over small last particulars.
Nonetheless, Wednesday introduced extra hitches. With the information briefing scheduled for the night, Hamas instantly tried to reopen a dialogue about how a lot land Israeli troops would proceed to manage alongside the border between Egypt and Gaza.
Then, after Egyptian and Qatari leaders had persuaded Hamas to again down, Israel pushed for better readability about which Palestinian prisoners could be launched.
Hundreds of miles away, within the Oval Workplace, Jake Sullivan, the nationwide safety adviser, sat with President Biden and Vice President Kamala Harris, awaiting information from Mr. McGurk.
At the same time as Sheikh Mohammed lastly introduced the deal on Wednesday evening, the final prisoners’ identities had been nonetheless being clarified by the 2 sides, based on an individual accustomed to the controversy.
However Mr. McGurk and Mr. Witkoff felt assured sufficient to tell their bosses {that a} cease-fire could be reached, one particular person accustomed to the scene stated.
That last wrangling continued into Thursday, with Mr. McGurk and Mr. Witkoff lastly leaving Qatar that evening.
The deal was cemented — and so was one of many unlikeliest pairings in diplomatic historical past.
Aaron Boxerman and Ronen Bergman contributed reporting.