He was also planning to run for the presidency in the first presidential elections, but withdrew after Ayatollah Khomeini told a delegation of Rafsanjani and Khamenei that he preferred non-clerics as presidents, which led to the Islamic Republic party’s endorsement of first Jalaleddin Farsi and then, Hasan Habibi as candidate.