A top Hamas official vowed Friday that the killing of the group’s leader, Yahya Sinwar, would change nothing for its war with Israel, saying that it would fight on even as President Joe Biden pressed for a deal to stop the conflict in the Gaza Strip and free the remaining hostages there.

In Hamas’ first official comments since Israel announced Sinwar’s death Thursday, his deputy, Khalil al-Hayya, said that the group maintained its conditions for a cease-fire. He said Hamas still insisted on an end to Israel’s onslaught in Gaza, as well as its complete withdrawal from the territory and the release of Palestinian prisoners in Israel.

“We are continuing Hamas’ path,” al-Hayya, who lives in exile in Qatar, said in televised remarks in which he praised Sinwar for dying on the battlefield and added that his “banner will not fall.” It remained unclear when Hamas would announce a successor to Sinwar, who was fatally shot by Israeli soldiers in southern Gaza on Wednesday.

Sinwar orchestrated the Hamas assault on Israel on Oct. 7, 2023, during which about 1,200 people were killed and another 250 were taken to Gaza as hostages. The assault led to Israel’s ongoing military campaign in Gaza, which has killed 42,000 people, according to local health officials, and left much of the territory in ruins.

Biden and top members of his administration have expressed hope that Sinwar’s death could provide an opening toward ending the war, which has spread to include allies of Hamas like the Lebanese militant group Hezbollah, which began firing rockets into Israel last October, and Iran, which backs both militant groups.

American officials, as well as many Israelis, have been pushing Prime Minister Benjamin Netanyahu of Israel to reach a cease-fire deal that would secure the release of the 101 hostages still being held in Gaza, at least a third of whom are believed to be dead.

Speaking to reporters in Berlin on Friday, Biden said the killing of Sinwar was “a moment of justice” and “an opportunity to seek a path to peace — a better future in Gaza without Hamas.”

The United States had often blamed Sinwar for obstructing a cease-fire deal. John Kirby, the national security spokesperson for the White House, reiterated that Friday.

“Each and every time, Sinwar found a way to stop it,” Kirby said, adding that “his death does provide a unique opportunity here.”

But Netanyahu on Thursday took an ambiguous stance toward the entreaties of his American allies abroad, who want a deal, and his far-right allies at home, who want to crush Hamas. The prime minister’s office released a statement saying that he agreed with Biden that there was “an opportunity to advance a deal to free the hostages,” but Netanyahu also said in a video address that Israel would continue its attacks on Hamas.

“This is not the end of the war in Gaza,” he said in the address. “It is the beginning of the end.”

Iranian officials, as the Hamas deputy did, struck a defiant tone and described Sinwar in heroic terms, with Foreign Minister Abbas Araghchi saying that the Palestinian cause “is more alive than ever.”