Washington first sanctioned Iran in 1979 when revolutionary students seized the U.S. embassy in Tehran, holding diplomats hostage. Numerous additional sanctions have been put in place since then over Iran's support for groups the U.S. deems terrorist organisations and the nuclear programme.
One big complication is that the IRGC, the single most influential entity in the country and deeply enmeshed with its economy, is designated by Washington as a terrorist organisation.
The sanctions are administered by the U.S. Treasury but as they come under different authorities and through different mechanisms, there is no quick, easy way to turn them all off.
Authority to impose sanctions derives from two laws in the 1970s that grant presidents emergency powers that have to be renewed each year, and from laws in 1996 and 2017 specifically targeting Iran and other countries.
Sanctions imposed by the president through executive orders can be reversed with a stroke of the pen by Trump. These include freezes of billions of dollars' worth of Iranian assets, an arms embargo, a ban on all trade with or investment in Iran and on anybody buying the country's oil.
Harder to remove are the sanctions that were imposed by Congress, which did not include waivers or exceptions based on Iranian conduct around human rights violations or Tehran's support for groups Washington regards as terrorist organisations.
Many companies, individuals and government bodies are specifically designated and removing all those could take a long time.