The hard-won 2015 nuclear deal
Stay tuned with 24 News HD Android App
But in 2018, US President Donald Trump pulled the United States out of the agreement and reimposed sanctions, prompting Iran to roll back its own commitments.
Despite consistent denials from Tehran, the US and Israel continue to accuse Iran of seeking a nuclear weapon.
Here is a look back at the deal:
Negotiations start in June 2013 between Iran and the five permanent members of the UN Security Council (Britain, China, France, Russia and the United States) plus Germany.
The accord's goal is to make it practically impossible for Iran to build an atomic bomb, while allowing it to pursue a civilian nuclear programme.
Tehran pledges to reduce its nuclear capacities for several years, capping its enrichment of uranium at 3.67 percent -- sufficient for power generation, but far below the more than 90 percent required for a nuclear weapon.
Iran agrees to slash the number of its enrichment centrifuges from more than 19,000 to 5,060, for a decade.
It also agrees to modify its heavy water reactor in Arak to prevent it using plutonium for military use.
The deal comes into effect in January 2016.
Inspectors, sanctions relief
The International Atomic Energy Agency is charged with carrying out inspections to ensure Iran is keeping to its side of the bargain.
The accord paves the way for a partial lifting of international sanctions on Tehran, opening the door to foreign investors.
However, UN embargoes on the sale of conventional arms and on ballistic missiles to Iran are maintained up to 2020 and 2023 respectively.
Washington is currently pressuring the three European signatories to the accord to extend the conventional weapons embargo, which should be gradually lifted from October 2020.
Investment starts to flow into Iran. But in May 2018, Trump pulls the US out of the agreement, calling it "rotten".
In August and November, Washington reimposes sanctions, particularly targeting Iran's oil and finance sectors.
Iran rolls back
Iran in May 2019 announces a first step back from the accord.
It says the European Union must help it circumvent US sanctions and sell oil or it will abandon more terms.
After exceeding the deal's uranium enrichment cap and the allowed quantity of heavy water, it says in January 2020 it will ignore the limit on its number of centrifuges.