Iran said on Saturday it had successfully tested a new ballistic missile with a range of 2,000 km (1,200 miles) and would keep developing its arsenal despite U.S. pressure to stop.

The United States has imposed unilateral sanctions on Iran, saying its missile tests violate a U.N. resolution, which calls on Tehran not to undertake activities related to missiles capable of delivering nuclear weapons. Iran says it has no such plans.

U.S. President Donald Trump said on Twitter the missile test illustrates the weakness of the Iran nuclear deal reached by his predecessor Barack Obama. He also linked the action to recent aggressive moves by North Korea.