Updated

The European Union and China say they will do their utmost to keep afloat an international agreement to stop Iran developing nuclear weapons despite the U.S. abandoning the pact.

Chinese Foreign Minister Wang Yi said Friday that "we will be unswerving in upholding it."

Speaking alongside EU foreign policy chief Federica Mogherini, he said the agreement has been endorsed by the UN and that "every party has the duty to implement it."

Mogherini, who helps oversee the implementation of the 2015 nuclear deal, praised China and said Beijing, the EU and other partners are working "in full coordination" to save the pact.

President Donald Trump last month reneged on the agreement, saying it fails to stop Iran developing ballistic missiles or playing a damaging role in the Middle East.