PARIS - US President Donald Trump and Iran's president signed a deal on Wednesday meant to end the Middle East war, with Tehran agreeing to dilute its enriched uranium in return for large-scale economic relief.

Trump put his signature to the memorandum of understanding during a candlelit dinner at the Palace of Versailles following a G7 summit, as host French President Emmanuel Macron and other guests applauded, a video posted by a Trump aide showed.

"Just signed it," Trump told reporters as he emerged from the palace.

Iranian Foreign Ministry spokesman Esmaeil Baqaei, quoted by the state news agency IRNA, said the document "was finalised with the signatures of the presidents." Prime Minister Shehbaz Sharif of Pakistan, which mediated the agreement, said on X that it "shall enter into force with immediate effect." The deal aims to draw a line under the war launched February 28 by the United States and Israel, prompting Iran to counterattack with missile and drone salvos across the region -- and effectively shutting down the Strait of Hormuz, a crucial waterway for the world economy.

The US responded by blocking shipping to and from Iranian ports.

"As a first step, Islamic Republic of Iran will instantly reopen the Strait of Hormuz and the United States of America will immediately lift the naval blockade," Sharif wrote.

Under the text, Washington also commits to immediately waive oil sanctions crippling Iran's economy.

And once a final agreement is reached on the Islamic republic's nuclear program, the United States will also facilitate the release of a $300 billion reconstruction fund supported by regional nations, the deal says.

The agreement had earlier been slated for signatures by Iran's chief negotiator and parliament speaker, Mohammad Bagher Ghalibaf, and US Vice President JD Vance.

Iran said an in-person ceremony was no longer....