The 1979 (or second) oil crisis occurred in the wake of the Iranian Revolution. Amid massive protests, the Shah of Iran, Mohammad Reza Pahlavi, fled his country in early 1979, allowing Ayatollah Khomeini to gain control. The protests shattered the Iranian oil sector.