US and Iran have agreed on a framework to end their war, officials announced on Sunday, including a halt on the US blockade of Iran and a reopening of the Strait of Hormuz, with an official signing scheduled on Friday in Switzerland.
The agreement is a preliminary pact that sent oil prices falling but leaves the fate of Iran's nuclear programme to further negotiations.
"The deal with the Islamic Republic of Iran is now complete," US President Donald Trump wrote on his Truth Social platform around 5:30 pm ET local time in Washington (2130 GMT) on Sunday.
His post came shortly after Pakistani Prime Minister Shehbaz Sharif, whose country has served as a mediator, announced a deal had been struck early on Monday local time.
The precise terms were not immediately known. Sharif said in a post on X that the pact called for "the immediate and permanent termination of military operations on all fronts, including in Lebanon".
Lebanon has been a sticking point in negotiations, with Israel and Hezbollah ignoring calls from Trump and others to stop their attacks on each other in recent weeks.
In a statement, the secretariat of Iran's Supreme National Security Council said war and military operations on all fronts, including Lebanon, would end permanently starting on Monday night.
There was no immediate reaction to the announcement from Israel, which has said it was not party to the US-Iran talks.
STRAIT TO REOPEN
Trump said the Strait of Hormuz, a major shipping route for global oil and gas supplies that Iran has effectively shut down for months, would open on Friday, and that he had ordered the end of the US blockade of Iranian ports.
"Ships of the World, start your engines. Let the oil flow!" Trump wrote.
Oil prices fell on the news. Brent crude futures fell 4 per cent in early trading on Monday, while US West Texas Intermediate slid more than 4.6 per cent. Stock markets in Asia jumped.
Former Biden administration State Department spokesperson Matthew Miller said Trump had made important concessions to Iran to achieve the status quo that existed before he launched the war.
"We have no assurances the nuclear programme will ever be addressed, but Iran has shown the world it can take the global economy hostage and get something from the US in return," said Miller.
Iran's deputy foreign minister, Kazem Gharibabadi, said a more expansive agreement would be negotiated during a 60-day ceasefire period, including sanctions relief for Iran.
The fate of Iran's nuclear programme, another thorny issue, will also be addressed in those later talks, sources previously told Reuters.
Thousands of people have been killed, mostly in Iran and Lebanon, since US and Israeli forces first attacked Iran on February 28.
Iran has struck Israel and Gulf states hosting US bases and has effectively blockaded the Strait of Hormuz, pushing up global energy prices. US forces have blocked Iranian ports in response.
The Iran war has become a political liability at home for Trump and his fellow Republicans in Congress, with public opinion polls showing Americans deeply frustrated by rising gas prices ahead of November's midterm elections.
But Trump has also faced pressure from members of his own party who insist that Iran's nuclear programme must be completely shut down.
Republican Senator Lindsey Graham, a leading Iran hawk, praised the deal but said he would be "watching closely" the coming negotiations on Iran's nuclear programme.
"Under our law, any nuclear deal with Iran will be sent to Congress for review and a vote," he said. "Congratulations to all in getting us to this point."
During his first term, Trump withdrew the US from a 2015 multilateral Iran deal, negotiated by Democratic President Barack Obama, that lifted sanctions on Tehran in exchange for limits on its nuclear programme, including international inspections.
Iran responded by ramping up its enrichment of uranium, producing more than 400 kg of material at close to bomb-grade purity. The eventual fate of that uranium is likely to be a key negotiating point during the upcoming talks.
TRUMP CALLS NETANYAHU 'A VERY DIFFICULT GUY'
The agreement was sealed despite an Israeli strike on Lebanon on Sunday that drew criticism from both Iran and Trump.
Prime Minister Benjamin Netanyahu has differed with Trump over American demands that Israel curb its military action in Lebanon to allow the United States to reach a deal with Iran.
Israel has said it will retain freedom of operations in Lebanon, while Iran has made a full ceasefire there an important component of its demands.
Trump updated Netanyahu on the progress toward a peace deal during a phone call on Sunday, Israel's N12 reported, citing a senior official.
In an interview with the New York Times, Trump called Netanyahu "a very difficult guy" and argued the Israeli leader should thank him for saving Israel from a nuclear-armed Iran.
Leaders outside the Middle East, who have kept a wary eye on the conflict, welcomed the announcement of a deal.
In a joint statement, the United Kingdom, Germany, France and Italy said they were prepared to lift sanctions on Iran in response to "clear, verifiable steps" to limit its nuclear programme.
"We are clear that toll-free freedom of navigation must now be restored in the Strait of Hormuz," British Prime Minister Keir Starmer said. "Iran must never have a nuclear weapon."
Before the deal was announced, a senior Iranian official told Reuters that, under the terms of the draft, the United States would agree to release $25 billion of frozen Iranian assets.
A US official, also speaking before the announcement, said the agreement would ultimately lead to the dismantling of Iran's nuclear programme, with its stockpile of highly enriched uranium to be destroyed and removed.
A senior Iranian official said the draft deal would allow Iran, which denies seeking a nuclear bomb, to dilute its enriched uranium inside the country.

Nine killed, historic monastery on fire as Ukraine faces major Russian attacks
Trump criticises Israel strike as US, Iran inch closer to deal, timing remains unclear
Congo says 782 Ebola cases confirmed, two new health zones affected
Israel says military attacks Hezbollah targets in Beirut's southern suburbs
