Iran announced that it successfully tested a new medium-range missile capable of reaching Israel and U.S. military bases in the Persian Gulf.

The announcement was made Saturday by Iran’s defence minister, Amir Hatami.

“As long as some speak in the language of threats, the strengthening of the country’s defence capabilities will continue and Iran will not seek permission from any country for producing various kinds of missile,” he said in a statement Saturday.

The missile, dubbed Khoramshahr, reportedly has a range of 1,250 miles and can carry multiple warheads.

Footage of the missile test, including from a camera mounted on the missile, was shown on Iranian state television, though it did not say when the test took place.

Israel’s defence Minister Avigdor Lieberman called the missile test “a provocation to the United States and its allies, including Israel,” as well as “further proof of Iran’s ambition to become a global power that threatens not only the Middle East, but all the countries of the free world.”

“Imagine what would happen if Iran would obtain nuclear weapons, which is where she is headed. We cannot let this happen,” Lieberman said in the statement, which he posted on his Facebook page.

U.S. President Donald Trump has threatened to renegotiate or to dump the 2015 Iran nuclear agreement between world powers and the Islamic Republic, which trades sanctions relief for a rollback of Iran’s nuclear program. Following Iran’s announcement of the missile test, Trump on Saturday tweeted disparagingly of the deal.

“Iran just test-fired a Ballistic Missile capable of reaching Israel. They are also working with North Korea. Not much of an agreement we have!” he wrote.

October 15 is the next deadline for Trump to certify that Iran is abiding by the deal, which the president must do every six months.

During his speech at the United Nations General Assembly Tuesday, Israeli Prime Minister Benjamin Netanyahu called for the altering or scrapping of the deal.