Washington (Reuters): Iran conducted a test launch of a medium-range ballistic missile that exploded after 630 miles, a U.S. official said.

The official said that the test was conducted from a site near Semnan, which is east of Tehran. The official further said that the last time this type of missile was test launched was in July 2016.

The White House said it was aware that Iran had tested a missile.

White House spokesman Sean Spicer said during a press briefing, "We're looking into that. We're aware that Iran fired that missile. We're looking into the exact nature of it, and I'll try to have more for you later."

It was not immediately clear whether the test launch violated a United Nations Security Council resolution.

U.N. Security Council resolution 1929 stated, "Iran is prohibited from undertaking any activity related to ballistic missiles capable of carrying nuclear weapons and States are required to take all necessary measure to prevent the transfer of related technology or technical assistance."

News of the latest test comes as French Foreign Minister Jean-Marc Ayrault arrived in the Iranian capital for a two-day visit.

Ayrault vowed that France would act as defender of Iran's nuclear deal, saying it was in the "common interest" that the 2015 accord was obeyed. Tehran agreed to curb its nuclear program in return for lifted sanctions.

He said that while Iran had "largely" honored the deal's terms, it had tested the spirit of the accord over the past year by carrying out several ballistic missile tests.