DUBAI: Iran's defense minister said on Wednesday it had tested a new missile but this did not breach the Islamic Republic's nuclear accord with world powers or a U.N. Security Council resolution endorsing the pact.

Iran has test-fired several ballistic missiles since the nuclear deal in 2015, but the latest test was the first during U.S. President Donald Trump's administration. Trump said in his election campaign that he would stop Iran's missile program.

"The recent test was in line with our plans and we will not allow foreigners to interfere in our defense affairs," Defence Minister Hossein Dehghan told Tasnim news agency. "The test did not violate the nuclear deal or (U.N.) Resolution 2231." A U.S. official said on Monday that Iran test-launched a medium-range ballistic missile on Sunday and it exploded after traveling 630 miles (1,010 km).

The Security Council held an emergency meeting on Tuesday and recommended the matter of the missile testing be studied at committee level. The new U.S. ambassador to the United Nations, Nikki Haley, called the test "unacceptable".

Iranian Foreign Minister Mohammad Javad Zarif said on Tuesday that Tehran would never use its ballistic missiles to attack another country. Some 220 Iranian members of parliament reaffirmed support for Tehran's missile program, calling international condemnation of the tests "illogical."

"The Islamic Republic of Iran is against weapons of mass destruction, so its missile capability is the only available deterrence against enemy hostility," the lawmakers said in a statement carried on state media on Wednesday.

The state news agency IRNA quoted Ali Shamkhani, head of Iran's National Security Council, as saying Iran would not seek "permission from any country or international organization for development of our conventional defensive capability".

The Security Council resolution was adopted to buttress the deal under which Iran curbed its nuclear activities to allay concerns they could be put to developing atomic bombs, in exchange for relief from tough economic sanctions.

The resolution urged Tehran to refrain from work on ballistic missiles designed to deliver nuclear weapons. Critics say the resolution's language does not make this obligatory. Tehran says it has not carried out any work on missiles specifically designed to carry nuclear payloads.