The United States and Iran have reached a deal to end their three-month war, President Donald Trump announced on Sunday, declaring the agreement "now complete" and ordering the immediate reopening of the Strait of Hormuz along with the removal of the US naval blockade of Iranian ports. "I hereby fully authorize the toll free opening of the Strait of Hormuz, and, simultaneously herewith, authorize the immediate removal of the United States Naval blockade," Trump wrote, capping a standoff that had throttled the world's most important oil chokepoint since the spring.

Trump announced the breakthrough alongside Pakistani Prime Minister Shehbaz Sharif, who said both sides had declared "the immediate and permanent termination of military operations on all fronts, including in Lebanon." Sharif said the two governments would meet for a formal signing ceremony on Friday, June 19, in Switzerland, with each side expected to sign electronically beforehand.

The Strait of Hormuz carries close to a fifth of the world's seaborne oil, and its closure during the crisis kept a persistent war-risk premium baked into crude prices and snarled tanker traffic at the mouth of the Persian Gulf. The US blockade of Iranian ports had been imposed in retaliation for Tehran's control of the waterway, and lifting it removes one of the central pressure points of the conflict.

Sharif, who said he had mediated between Washington and Tehran, thanked Saudi Arabia, Turkey and Qatar for their roles in the talks. The announcement marked the culmination of weeks of stop-start diplomacy that had repeatedly seemed close to a deal before stalling, and that this week produced a firm Sunday timeline before slipping to the later Switzerland signing.

Iran was more guarded. Deputy Foreign Minister Kazem Gharibabadi confirmed the agreement but stressed that it "does not signify trust in the enemy and was drafted in an atmosphere of continued distrust," and said Tehran would not begin implementing its terms until the Friday signing. The gap between Washington's confident framing and Tehran's caution leaves room for friction before the deal takes formal effect.

The most contentious issues were deferred. People briefed on the terms say Iran's nuclear program — the question that has dogged negotiations for years — was set aside for a further round of talks running about 60 days, with the option of an extension. Iran is currently estimated to hold roughly 440 kilograms of uranium enriched to 60 percent purity, close to the threshold for weapons-grade material, and the United States has long demanded that Tehran halt enrichment entirely.

The accord folds in the wider regional fighting. Sharif's reference to a permanent halt "on all fronts, including in Lebanon" ties the agreement to the fragile Israel-Lebanon ceasefire, which has been tested by repeated strikes around Beirut's southern suburbs since it was renewed earlier this month.

Markets had already begun pricing in relief. US benchmark crude settled near $85 a barrel on Friday, its lowest in two months, as traders bet that a signed deal would drain the premium that pushed oil toward $100 earlier in the spring. A clean reopening of the strait would return bottled-up barrels to their normal routes, though prices remain exposed to any slippage before Friday.

Reopening the waterway in practice will take more than an announcement. Insurers must restore war-risk coverage for vessels, both militaries must unwind their postures in and around the Gulf, and shipping must rebuild confidence in safe passage — a process measured in weeks rather than the hours of a signing ceremony.

The deal also lands against a turbulent domestic backdrop for Trump, who announced it on his 80th birthday and amid nationwide "No Kings" protests whose organizers have made opposition to the Iran war a central theme. The president spent the weekend casting the agreement as a decisive foreign-policy win.

For now both governments describe the broad outlines as settled while leaving the details unpublished. Whether Friday produces a signature in Switzerland, and whether the strait reopens as cleanly as advertised, will be the first real test of an agreement that has been declared finished more than once before.