The shahs were dictatorial and used secret police to rule Iran. In addition, they were largely viewed as puppets of the western regime especially the USA noting they had come to power through a CIA instigated coup. As a result there was widespread hatred against them which culminated in the people uniting around the supreme leader, who held anti-western stance.