The interference from western powers to prop up the Shah did not help matters.
At least this was the impression I got from my time in Iran and visiting the tourist sites.
It was a coalition of factions that took him down including socialists and communists. The ayatollah and his followers seized the country within a few years though and turned it into an Islamic republic.
The other driving force being the CIA.