The Iranian revolution began contained a great many factions and tendencies, one of the largest was its socialist wing. The revolutionary left was ultimately defeated by the Islamist faction. What would it take to create the Iranian Socialist Republic. It would probably require a unity that they didn't have ITTL.