President Donald Trump said the US and Iran had agreed to continue talks despite an escalation of hostilities this week but he declared that the ceasefire reached between the two sides last month was over.
The United States also stepped up demands on Friday that Iran stop attacks on ships in the Strait of Hormuz, where recent hostilities have pushed oil prices higher, a politically sensitive issue for Trump ahead of November congressional elections.
Trump's comments came on a day of relative calm at the end of a week of renewed conflict, when three Qatari and Saudi commercial tankers came under fire, prompting the US to hit Iranian sites, and Iran to respond with strikes on US military sites in Gulf states.
No attacks were reported on Friday as regional mediators sought to salvage diplomatic efforts to permanently end a war that began on February 28 with US-Israeli strikes on Iran.
"The Islamic Republic of Iran has asked us to continue 'talks.' We have agreed to do so, but the United States has stated to them, in no uncertain terms, that the Cease Fire is OVER!" Trump posted on his Truth Social platform.
Trump also posted that he had ordered the US military to be prepared to launch strikes against Iran if Tehran carried out or attempted an assassination of the president. "1000 Missiles are Locked and Loaded and aimed at the Islamic Republic of Iran, with thousands of more to immediately follow, should the Iranian Government act on its threat, pronounced in many corners of the Globe, to assassinate, or attempt to assassinate, the sitting President of the United States of America, in this case, ME!," he posted.
"Orders have already been given, and the US Military is ready, willing, and able, for a one year period of time, subject to extension, to completely decimate and destroy all areas of Iran."
The Wall Street Journal and other US media reported this week that Israel had shared intelligence with Washington that Iran had recently devised a plan to assassinate Trump.
STRAIT OF HORMUZ A FOCUS OF DIPLOMACY
Iranian Foreign Minister Abbas Araqchi will visit Oman to discuss arrangements for the safe passage of ships through the Strait of Hormuz.
The US is demanding that Iran publicly state it will stop attacks on ships in the strait - and that all lanes will be open with no tolls through the waterway that carried one-fifth of global oil supplies before the war, senior US officials said on Friday.
During the war, Tehran has largely taken control of the strait, forcing a stalemate in its confrontation with the world's most powerful military.
At least 17 people were killed in US strikes on six cities in Iran on Wednesday and Thursday, the head of the public relations and information centre at Iran's Health Ministry said. He said 115 people were wounded.
Even so, US officials said conversations between the two countries had been productive in recent days.
Tehran said any breach of commitments by Washington would be met with "reciprocal action," the foreign ministry spokesperson said, according to state media.
Last month's interim deal was meant to pave the way to the end of a conflict now in its fifth month, which has killed thousands, throttled worldwide energy supplies and raised fears of a global economic downturn.
Renewed fighting in the Gulf has increased the pain for US consumers. After weeks of steady declines, crude oil prices posted their biggest weekly rise in eight weeks.

Twelve killed, 23 missing in one of Spain's deadliest wildfires
Ryanair passenger partially sucked out of window on flight from Greece
Man arrested on suspicion of murdering former UK minister Widdecombe
28 killed in shoe factory fire in China's Fujian
Congo Ebola outbreak still spreading largely undetected, WHO official says