OBBUERGEN, Switzerland (AP) — Negotiators from the U.S. and Iran were set to engage in a second day of talks Monday to solidify a permanent end to the war between the countries, after a first day of mediation began with a rocky start.Mediators Qatar and Pakistan hailed what they called “encouraging progress” made during the talks. A senior U.S. diplomat claimed progress on multiple fronts, including the establishment of “mechanisms” to ensure the Strait of Hormuz, a vital waterway for global energy shipments, remains open and that a ceasefire in southern Lebanon holds.Yet the first full day of talks between the U.S. and Iran, who were accompanied by Qatari and Pakistani officials, was jolted by blistering statements from U.S. President Donald Trump, who from thousands of miles away from the Swiss negotiating venue was firing off comments that offended the Iranians.

Iranian state media said talks had paused after the “publication of an insulting message by the U.S. President.” The Iranian delegation then met with Qatari mediators and left the negotiating site, state media said. The senior U.S. diplomat, who spoke on condition of anonymity to brief journalists on the ongoing talks, said late Sunday that the Iranians remained on site and the negotiations were on.