The first round of talks between high-ranking US and Iranian officials in Switzerland ended Monday, June 22, mediators said, after a tense opening marked by Tehran’s announcement it had again closed the Strait of Hormuz and US President Donald Trump repeating his threats to resume attacks on Iran.

A joint statement from mediating nations Qatar and Pakistan said the US and Iran agreed to a roadmap toward a final deal within 60 days. Technical talks will continue for the rest of the week in the Qatari-owned Swiss mountain resort of Buergenstock, according to the statement, which was released by the Qatari foreign ministry.

The parties agreed to a mechanism to end the fighting in Lebanon and opened a communications line to help ensure safe passages for commercial ships through the contested strait, the statement said.

US Vice President JD Vance had opened talks with Iranian officials on Sunday under the terms of a memorandum of understanding reached last week to extend a tenuous ceasefire from April for at least another 60 days. The discussions continued until the early hours of Monday.

In a post on social media, Iranian Foreign Minister Abbas Araqchi said his country had secured waivers for oil and petrochemical exports, the release of some frozen assets and the launch of a reconstruction and development plan for Iran.