The UK has agreed to work with the EU to try to block the impact of Donald Trump's new sanctions against Iran.

Jeremy Hunt, the foreign secretary, signed a joint statement with other EU foreign ministers to ensure European companies doing business with Iran will be protected.

The ministers promised to introduce a "blocking statute" to ban European firms from abiding by the US sanctions, which were reimposed by Mr Trump on Monday.

The US president decided to reintroduce the penalties after withdrawing from the 2015 Iran nuclear deal negotiated by his predecessor, Barack Obama.

The European foreign ministers said the lifting of Western sanctions was "essential" to the deal, officially known as the Joint Comprehensive Plan of Action (JCPOA), which involved Iran agreeing not to pursue development of nuclear weapons.

Mr Hunt signed the statement along with EU High Representative Federica Mogherini and foreign ministers Jean-Yves Le Drian of France and Heiko Maas of Germany.

They said they "deeply regret" Mr Trump's decision to reimpose sanctions and argued that 11 consecutive reports bythe International Atomic Energy Agency confirm the Iran deal "is working".

The statement said: "It is a key element of the global nuclear non-proliferation architecture, crucial for the security of Europe, the region, and the entire world. We expect Iran to continue to fully implement all its nuclear commitments under the JCPOA.

"The lifting of nuclear-related sanctions is an essential part of the deal – it aims at having a positive impact not only on trade and economic relations with Iran, but most importantly on the lives of the Iranian people. We are determined to protect European economic operators engaged in legitimate business with Iran."

Iran parliament reacts after Trump's withdrawal from nuclear deal Show all 10 1 /10 Iran parliament reacts after Trump's withdrawal from nuclear deal Iran parliament reacts after Trump's withdrawal from nuclear deal Iranian MPs burnt a US flag in parliament after Donald Trump announced America's withdrawal from the nuclear deal. AFP/Islamic Consultative Assembly News Agency Iran parliament reacts after Trump's withdrawal from nuclear deal US President Donald Trump displays a presidential memorandum after announcing his intent to withdraw from the JCPOA Iran nuclear agreement in the Diplomatic Room at the White House. Reuters Iran parliament reacts after Trump's withdrawal from nuclear deal Some Iranian MPs reacted after Trumps decision by shouting 'death to America'. AFP/Islamic Consultative Assembly News Agency Iran parliament reacts after Trump's withdrawal from nuclear deal Iranian lawmakers prepare to burn two pieces of papers representing the US flag and the nuclear deal. AP Iran parliament reacts after Trump's withdrawal from nuclear deal Iran said it will hold talks with signatories to the nuclear deal after Trump's decision to withdraw from the accord, which it branded "psychological warfare". AFP/Islamic Consultative Assembly News Agency Iran parliament reacts after Trump's withdrawal from nuclear deal Several Iranian MPs stood chanting in the Tehran parliament. AFP/Islamic Consultative Assembly News Agency Iran parliament reacts after Trump's withdrawal from nuclear deal Iranian MPs burning a US flag AFP/Islamic Consultative Assembly News Agency Iran parliament reacts after Trump's withdrawal from nuclear deal President Hassan Rouhani addressed the nation in a televised speech in Tehran. He said he'd send his foreign minister to negotiate with countries remaining in the nuclear deal after Trump's decision to pull America from the deal, warning he otherwise would restart enriching uranium "in the next weeks." Iranian Presidency Office via AP Iran parliament reacts after Trump's withdrawal from nuclear deal Iran's press condemned Trump's withdrawal from a multi-party nuclear deal but was divided over whether Tehran should react with patience or withdraw itself. AFP Iran parliament reacts after Trump's withdrawal from nuclear deal Trump announced the US withdrawal from what he called the "defective" multinational nuclear deal with Iran, and said Washington would reinstate sanctions against the Islamic republic. AFP/Getty

The EU's Blocking Statue will come into effect on Tuesday and will allow European firms to recover damages incurred as a result of the US sanctions. EU companies will also be banned from complying with Mr Trump's sanctions unless they get special permission from the European Commission.

The foreign ministers said the statute would "protect EU companies doing legitimate business with Iran from the impact of US extra-territorial sanctions", adding: "Preserving the nuclear deal with Iran is a matter of respecting international agreements and a matter of international security."

Mr Trump's national security adviser, John Bolton, has previously suggested the US could also impose sanctions on European countries that do business with Iran.

European leaders criticised Mr Trump after he walked away from the Iran deal, which he claimed did not prevent Iran from developing a nuclear bomb.

Following the announcement in May, the leaders of the UK, France and Germany issued a joint statement expressing their "regret and concern".

Theresa May, Emmanuel Macron and Angela Merkel said:​"Together, we emphasise our continuing commitment to the JCPOA. This agreement remains important for our shared security.

“We recall that the JCPOA was unanimously endorsed by the UN Security Council in resolution 2231. This resolution remains the binding international legal framework for the resolution of the dispute about the Iranian nuclear programme.