Let me maake this really simple for everyone to understand.
Iran is divided into 3 political power forces.
The neutrals, they are few and often don't get attention.
The "Seculars" These are your Rafsanjanis, Rohanis, Zarifs
The Hezbollahis, Wf, Mesbah yazdis, khatamis (not the president), Raisis
From the beginning of the revolution it was very clear for Imam Khomeini who these were, but like history shows, sometimes people have to witness things themselves.