In 2012, almost ten years after the US invasion of Iraq, two years into the Arab uprisings, Ahmadinejad’s second term as president was coming to an end and Iran was feeling secure about its regional gains. But Khamenei and the Revolutionary Guards were increasingly worried about the sanctions that were squeezing Iran’s economy—not only because they feared popular protests but because there was less revenue for them to siphon off.

