It wasn’t just Iranian oil that came flowing back onto the international market, pistachio exports began gaining overseas markets.
That progress could face challenges though. US President Donald Trump called the agreement created under his predecessor the “worst” deal the US has ever made.
In October he decertified the agreement. The move passes responsibility to the US Congress to evaluate and determine whether it believes Iran is compliant with the terms and if the US should remain in the deal.
President Trump said in the speech announcing his decision that the agreement “threw Iran’s dictatorship a political and economic lifeline,” but had failed to prevent Iran’s “sprint” towards nuclear weapon development.
For Iran’s pistachio industry the threat of losing the deal and reinstating sanctions could mean the return of what Hojat Hassani Sadi, deputy director of the Iran Pistachio Association calls “unfair and unequal competition”.
The pistachio industry in Iran dates back thousands of years. By contrast, pistachio farming in the US started in the 1930s with Persian seeds.
The boom in commercial pistachio cultivation came after the US severed ties with Iran following the 1979 hostage crisis, after which the US and its allies placed sanctions on Iran.
Over the next several decades, even in countries where Iranian pistachios were welcomed, restrictions on its companies’ ability to access international financing made it hard for the industry to flourish.
During that time the US market expanded, with farmers – mainly across California – planting the crop.
But in 2014. hot and dry weather conditions across the western US cost the industry nearly half its crop and cut profits for 2015 – the year those nuts were sold – by close to $1.4bn (£1bn).
Globally, pistachio prices rose, but for Iran’s growers it was also an opportunity.
The price of pistachios has been on the rise since 2002. Richard Matoian, executive director of the American Pistachio Growers (APG) trade association, attributes this to increased awareness of their health properties and global demand for healthy snacks.
“The industry has been pushing the products with advertising,” he says, adding that middle-class demand in developing markets has also boosted exports.
More from the BBC’s series taking an international perspective on trade:
Increased demand in China has been key to sector growth. Between 2008 and 2013 Chinese imports of US pistachios rose 146% according to APG.
But the 2014 drought saw the price of California’s nuts rocket from $3/lb (453g) to over $5/lb.
By contrast Iran’s pistachio yield that year was strong. In markets like China, they were able to undercut American prices by close to $0.20/lb.
A strong growing year in 2016 has helped the US market recover and led to a moderation in price.
But Iran has another advantage that helps it in global trade – its location.
“Iran has a transportation advantage. They can certainly take markets away and China is an example of that,” says Mr Matoian.
The advantages and disadvantages for Iran are not only linked to sanctions. Iran claims its pistachios have a better taste, as do several large European distributors, though the US and Iran mainly grow the same strain. (Turkish pistachios, for example, are a different variety.)
The US also imposes a 241% tariff on Iranian pistachios meaning even without sanctions the US market has been all but cut off for Iran.
Water shortages are another problem for Iran. According to Mr Sadi it is the “major obstacle to growth” for his industry.
Iran’s pistachio sector is second in the world following the strong 2016 season in the US. And with the two countries dominating so much of the global market, Iran isn’t in dire need of a comeback.
But for the growing number of pistachio fans around the world increased access to Iran’s pistachio exports and decreasing prices would be a sweet outcome.