Rouhani on Tuesday ordered Iran's ministries of intelligence and foreign affairs, armed forces and supreme national security council to enforce the law, the news service added, citing Iranian state media.

“We will answer any action taken against this force with a reciprocal action. So the leaders of America, who themselves are the creators and supporters of terrorists in the (Middle East) region, will regret this inappropriate and idiotic action," hundreds of lawmakers said in a statement one day before Trump announced his decision.

Iran's response is the latest move in what has been a contentious relationship between Tehran and the U.S. under Trump.

Trump last year withdrew the U.S. from the Iran nuclear deal, which lifted sanctions on Tehran in exchange for limits on its nuclear program. Trump has since reimposed sanctions on the country.

Earlier this month, the Trump administration also announced it would not renew waivers that allowed several foreign countries to purchase oil from Iran without facing sanctions.