Why did the discontent spread in Iran under the Shah?

Corrupt rule that favoured the rich and did little to address the needs of the poor - which turned out to be rather a lot of people when the revolution came - also too much perception of western influence (CIA) and not enough adherence to Islam.