Here’s your reminder that the communists played a key role in the revolution, thinking they would be able to control the Islamists.
The Islamists then quickly subdued them.
The initial rebellion which forced the Shah into exile was done by Iranian communists. The Khomeini arrived from France and his fanatic Shiites overpowered them.
Source: Visegrád 24 - X