Although the unrest that shocked Iran's ruling elite appears to be over, there are several reasons to think this won't be the last time disaffected citizens take to the streets.
Rouhani's conservative rivals are exploiting growing pessimism about the economy, increasing the odds that someone more hostile to the West might become Iran's next president.
The tentative Boeing jet deal prompted outrage among Republicans but barely a peep among Iran's own conservatives, despite their aversion to warmer economic ties with the U.S.
The Iranian president will finally get a parliament that backs his reforms. But much still stands in his way.
The nuclear deal may be signed, but the history of the Islamic regime shows they will continue to rely on external conflicts to consolidate power.