Even Iran 's former president , Mohammad Khatami , who used his eight-year presidency to try to moderate Iran 's foreign policy , likened Hezbollah to '' a shining sun that illuminates and warms the hearts of all Muslims and supporters of freedom in the world . ''