Iran's defence minister, Amir Hatami, says Iran can't be threatened militarily by any foreign power.

A day after the United States pulled out of Iran's 2015 international nuclear deal, defence minister Amir Hatami said, Iran cannot be militarily threatened by any foreign power.

Defence minister Hatami said:  "Today, with attention on the defensive power of our country, we're in a situation that Islamic Iran cannot be militarily threatened by any foreign power."

Hatami pointed to Iran's military role combating "takfiri" fighters in Iraq and Syria as a recent achievement of the Islamic Republic's armed forces. 

US President Donald Trump said on Tuesday  that he was reimposing economic sanctions on Iran and pulling the United States out of an international agreement.

Iranian President Hassan Rouhani says Tehran will stay in the JCPOA with other signatories, stressing that Iran has always complied with its commitments to the JCPOA, while the US has never complied with its obligations and commitments.

European leaders decried Trump's decision to withdraw from the deal, which had lifted sanctions against Iran in return for curbs on its nuclear programme.

They called on Washington not to take steps that would prevent other countries from upholding and implementing the nuclear agreement.