Donald Trump has done what he said he'd do: end the war in the Middle East.
The US president confirmed a ceasefire with Iran on Sunday that promises to halt hostilities on all fronts, including in Lebanon, after more than three months of conflict that has killed thousands and rattled the global economy.
"The Deal with the Islamic Republic of Iran is now complete," Trump posted on social media. "I hereby fully authorise the toll free opening of the Strait of Hormuz, and, simultaneously herewith, authorise the immediate removal of the United States Naval blockade. Ships of the World, start your engines. Let the oil flow!"
The agreement was announced by Pakistani Prime Minister Shehbaz Sharif, who served as a key negotiator. A signing ceremony is set for this Friday in Switzerland.
But the deal almost didn't happen. On Sunday, Hezbollah fighters in Lebanon launched rockets at northern Israel, and Israel responded with airstrikes on Beirut's Dahiyeh district, a Hezbollah stronghold. The Lebanese national news agency reported at least three people killed and 14 wounded.
Trump was furious. He told news site Axios that Israeli Prime Minister Benjamin Netanyahu had "no f---ing judgment" and had put the negotiations at risk. "Why did Bibi have to do a f---ing attack? I was so pissed off," Trump said, using Netanyahu's nickname. He also told Fox News he called Netanyahu to demand no further strikes against Hezbollah, asking: "What the f--- are you doing?"
Iran confirmed the ceasefire but said detailed negotiations would only start after the US releases frozen Iranian assets. "The text of the memorandum of understanding will be published shortly," said Iranian deputy foreign minister Kazem Ghribabadi. "Our commitments aren't comparable to our gains."
Under the deal, both sides have declared an immediate and permanent end to military operations on all fronts, including in Lebanon. The ceasefire begins Friday when the documents are signed. But the next 60 days will be spent negotiating the final terms, and there's debate in Israel about whether Trump gave too much away.
The war began on March 2 when Hezbollah fired rockets at Israeli communities, siding with Iran. Since then, Lebanon's Ministry of Public Health says 3,783 people have been killed and 11,699 wounded. The conflict also caused massive damage to the world economy, disrupting oil shipments through the Strait of Hormuz.
Trump is due to fly to France on Monday for a G7 summit hosted by French President Emmanuel Macron in Evian. The three-day summit is expected to focus on the Middle East ahead of Friday's signing ceremony.
For Australians, this deal means lower petrol prices at the bowser. The Strait of Hormuz is a critical chokepoint for global oil supplies, and its reopening should ease the price pressures that have hit households hard over the past three months.
But the road to peace is still rocky. Iran has warned of a "strong response" to the Israeli strikes on Beirut, and Netanyahu's cabinet met on Sunday night to consider next steps. "Israel won't tolerate fire directed at its territory," Netanyahu said in a joint statement with Defence Minister Israel Katz.
Trump, meanwhile, is confident. "Congratulations to all!" he posted. The world will be watching to see if the ceasefire holds.