Top Hamas leader Ismail Haniyeh was assassinated Wednesday by a bomb that was smuggled into the Tehran guesthouse where he was staying two months before his arrival, according to a report.

Haniyeh, who was initially thought to have been killed in an airstrike, died from a remotely detonated bomb inside the guesthouse, seven Middle Eastern officials, including two Iranians and an American official, told The New York Times.

The Israeli military said Thursday that it has confirmed that the head of Hamas’ military wing, Mohammed Deif, was killed in an airstrike in Gaza in July. Israeli Army/AFP via Getty Images

The guesthouse where the explosion occurred.

An aerial view of the guesthouse.

The bomb was hidden inside the guesthouse approximately two months before Haniyeh’s visit, five of the Middle Eastern officials told the Times.

According to the sources, the bomb detonated remotely once it was confirmed Haniyeh was inside the room.

Iranian supreme leader Ayatollah Ali Khamenei office shows him (C) leading the prayer, next to Iranian President Masoud Pezeshkian (C-R), over the coffin of late Hamas leader Ismail Haniyeh and his bodyguard, during his funeral procession in Tehran on August 1, 2024, ahead of his burial in Qatar. IRANIAN SUPREME LEADER’S WEBSITE/AFP via Getty Images

Israeli Defense Minister Yoav Gallant said the strike that killed Deif was a “significant milestone” toward achieving the goals of the war. IDF via Telegram

The explosion also killed a bodyguard, according to the report.

The guesthouse Haniyeh was staying at is run and protected by the Islamic Revolutionary Guards Corps in Neshat, a wealthy neighborhood of northern Tehran.