US President Donald Trump has said he would be willing to meet Iranian leaders without preconditions to discuss how to improve ties after he pulled the United States out of the 2015 Iran nuclear deal, saying, "If they want to meet, we'll meet."
Asked at a White House news conference whether he was willing to meet with Iranian President Hassan Rouhani, Mr Trump said: "I'd meet with anybody, I believe in meetings," especially in cases where war is at stake.
Mr Trump's remarks represented a marked softening in rhetoric from a week ago, when he lashed out at Mr Rouhani, saying: "Never, ever threaten the United States again or you will suffer consequences the likes of which few throughout history have ever suffered before.
"We are no longer a country that will stand for your demented words of violence & death. Be cautious!"
A few hours earlier, Mr Rouhani had addressed the US president in a speech, saying that hostile US policies could lead to "the mother of all wars".
Mr Trump, speaking at a news conference with visiting Italian prime minister Giuseppe Conte, said: "I would certainly meet with Iran if they wanted to meet.
"I don't know that they're ready yet. I ended the Iran deal. It was a ridiculous deal."
He added: "I do believe that they will probably end up wanting to meet and I'm ready to meet any time that they want to."
Mr Trump said he had "no preconditions" for a meeting with the Iranians, adding: "If they want to meet, I'll meet."
"If we could work something out that's meaningful, not the waste of paper that the other deal was, I would certainly be willing to meet," he added, noting that it would be good for the United States, Iran and the world.
An aide to Mr Rouhani said this evening that to pave the way for talks with Iran, the United States should return to the 2015 nuclear deal
"Respecting the Iranian nation's rights, reducing hostilities and returning to the nuclear deal are steps that can be taken to pave the bumpy road of talks between Iran and America," Hamid Aboutalebi, an advisor to Mr Rouhani, said on twitter.
Hours before Mr Trump's statement, Tehran had ruled out talks with Washington.
"With current America and these policies, there will definitely not be the possibility of dialogue and engagement,and the United States has shown that it is totally unreliable," Foreign Ministry spokesman Bahram Qasemi told a weekly news conference.
Mr Qasemi criticised the US withdrawal from the nuclear deal and economic sanctions that follow, noting "there are no conditions for such a discussion at all."
In May, Mr Trump withdrew the United States from the 2015 international agreement designed to deny Tehran the ability to build nuclear agreements.
Since then Iran and other signatories have been working to find a way to salvage the agreement, even as the United States has begun reimposing some sanctions on Iran.
World powers and Iran have been working on an economic package to compensate for US sanctions that begin taking effect in August.