Iran has defied the United Nations (UN) with a ballistic missile test in Semnan, located 140 miles east of Tehran. But the test violated UN resolution 2231, which states that the country cannot conduct these missile tests.

Fox News reported:

The Khorramshahr medium-range ballistic missile flew 600 miles before exploding, in a failed test of a reentry vehicle, officials said. Iran defense minister Brigadier Gen. Hossein Dehqan said in September that Iran would start production of the missile.

U.N. resolution 2231 — put in place days after the Iran nuclear deal was signed — calls on the Islamic Republic not to conduct such tests. However, this is at least Iran’s second such test since July. The resolution bars Iran from conducting ballistic missile tests for eight years and went into effect July 20, 2015.

Iran is “called upon not to undertake any activity related to ballistic missiles designed to be capable of delivering nuclear weapons, including launches using such ballistic missile technology,” according to the text of the resolution.

But Iran said these ballistic missiles do not fall under those provisions since “they are not designed to carry a nuclear warhead.”

President Donald Trump has threatened to eliminate or revamp the Iran nuclear deal. Back in January 2016, he told rally attendees that “the nuclear deal with Iran is so bad, he is close to wondering whether it was done poorly on purpose.” From The Hill:

“It’s almost like there has to be something else going on,” he said Saturday night at a rally in Biloxi, Miss. “I don’t think there is, I just don’t think they’re competent.”

Trump said he couldn’t believe the U.S. would agree to a deal with Iran that did not include the return of Americans held prisoner in Iran.

“Who would make that deal?” he asked, suggesting Tehran was celebrating as the agreement was being negotiated.

On Sunday, Trump talked with King Salman of Saudi Arabia. Both men “‘agreed on the importance of rigorously enforcing the Joint Comprehensive Plan of Action with Iran and of addressing Iran’s destabilizing regional activities,’ the White House said in a statement.”

Fox News reported that the US intelligence community picked up the “launch due to its robust satellite network.” These satellites can identify “the heat signature of missile launches and explosions from bombs being dropped around the world.”