Iran said on Sunday its missile program is defensive and not in breach of UN resolutions, the state news agency IRNA said, following a U.S. allegation that Tehran had carried out a new missile test.

U.S. Secretary of State Mike Pompeo on Saturday condemned what he described as Iran's testing of a medium-range ballistic missile capable of carrying multiple warheads as a violation of the 2015 international agreement on the Iranian nuclear program.

The Iranian regime has just test-fired a medium range ballistic missile that’s capable of carrying multiple warheads. This test violates UNSCR 2231. Iran’s missile testing & missile proliferation is growing. We condemn this act and call upon Iran to cease these activities.

"Iran's missile program is defensive in nature... There is no Security Council resolution prohibiting the missile program and missile tests by Iran," IRNA quoted Foreign Ministry spokesman Bahram Qasemi as saying in response to Pompeo's remarks.

Qasemi did not confirm or deny that Iran had carried out a new missile test. Under the UN resolution enshrining the 2015 nuclear deal with Britain, China, France, Germany, Russia and the United States, Iran is "called upon" to refrain for up to eight years from work on ballistic missiles designed to deliver nuclear weapons.

Iran has repeatedly said its missile program is purely defensive and denied its missiles are capable of being tipped with nuclear warheads.

Qasemi, addressing Pompeo, said: "It is...ironic that you cite a resolution that you have not only breached through your unilateral and unlawful withdrawal form the (nuclear) accord but that you also encourage others to breach or even threaten to punish and sanction them if they carry it (accord) out."

President Donald Trump pulled Washington out of the nuclear deal, approved before he took office, in May and reimposed sanctions on Tehran. Trump said the deal was flawed as it did not include curbs on Iran's development of ballistic missiles or its support for armed proxies in Syria, Yemen, Lebanon and Iraq.

Haaretz.com, the online edition of Haaretz Newspaper in Israel, and analysis from Israel and the Middle East. Haaretz.com provides extensive and in-depth coverage of Israel, the Jewish World and the Middle East, including defense, diplomacy, the Arab-Israeli conflict, the peace process, Israeli politics, Jerusalem affairs, international relations, Iran, Iraq, Syria, Lebanon, the Palestinian Authority, the West Bank and the Gaza Strip, the Israeli business world and Jewish life in Israel and the Diaspora.