During the Iranian hostage crisis, Carter issued a number of orders to put pressure on Iran. Among these, Iranians were banned from entering the United States unless they oppose the Shiite Islamist regime or had a medical emergency.
Here’s Jimmy Carter saying it back in 1980.
Fourth, the Secretary of Treasury [State] and the Attorney General will invalidate all visas issued to Iranian citizens for future entry into the United States, effective today. We will not reissue visas, nor will we issue new visas, except for compelling and proven humanitarian reasons or where the national interest of our own country requires. This directive will be interpreted very strictly . . .
In November 1979, the Attorney General had given all Iranian students one month to report to the local immigration office. Around 7,000 were found in violation of their visas. Around 15,000 Iranians were forced to leave the US . . .
Now unlike Muslims, Iranians were not necessarily supportive of Islamic terrorism. Many were and are opponents of it. Khomeini didn’t represent Iran as a country, but his Islamist allies. So Trump’s proposal is far more legitimate than Carter’s action. Carter targeted people by nationality. Trump’s proposal does so by ideology. (Read more from “Carter Banned Iranians from Coming to US During Hostage Crisis” HERE)