The United States and Iran announced a deal to end the Middle East war on all fronts and reopen the vital Strait of Hormuz, sparking relief Monday after months of deadly violence and global economic chaos.The US and mediator Pakistan said the agreement was to be signed on Friday in Switzerland, with Saudi Arabia and other regional powers hailing the deal while ordinary Iranians voiced hope it could restore calm.Few details were made public, but US President Donald Trump said Hormuz, a key conduit for global oil supplies that Iran has blockaded since the start of the war, would reopen. "The Deal with the Islamic Republic of Iran is now complete," US President Donald Trump said on Sunday. "Ships of the World, start your engines. Let the oil flow!"Soon afterwards, Iran's Deputy Foreign Minister Kazem Gharibabadi said in televised comments that the deal put an "immediate end" to the war and that they would hold talks within two months to seek a "final agreement."Iran's military hailed the agreement as a victory, claiming that it had "humiliated" the US and Israel in the war that began on February 28 with their massive campaign of airstrikes.Israel's Defence Minister Israel Katz, however, said Israeli forces would remain in Lebanon, Syria and Gaza indefinitely, despite the announcement that the deal would apply across all fronts, including in Lebanon."Prime Minister Benjamin Netanyahu and I are pursuing a clear policy under which the IDF will remain in the security zones in Lebanon, Syria and Gaza for an unlimited period of time, in order to protect the border and Israeli communities from there against jihadist elements," Katz said Monday.Speaking on condition of anonymity, an official source told AFP that Lebanese authorities had not been informed of details of the agreement.- Terms unclear -The deal follows weeks of fraught negotiations and periodic threats of fresh hostilities, but its details remain unclear.Iran's Mehr news agency reported that the US would release $12 billion in frozen assets to Iran before the start of negotiations.