List of Iranian presidential elections
The President of Iran is the highest official elected by direct, popular vote, although the President carries out the decrees, and answers to the Supreme Leader of Iran, who functions as the country's head of state. Unlike the executive in other countries, the President of Iran does not have full control over anything, as these are ultimately under the control of the Supreme Leader. Chapter IX of the Constitution of the Islamic Republic of Iran sets forth the qualifications for presidential candidates. The procedures for presidential election and all other elections in Iran are outlined by the Supreme Leader. The President functions as the executive of the decrees and wishes of the Supreme Leader. These include signing treaties and other agreements with foreign countries and international organizations, with Supreme Leader's approval; administering national planning, budget, and state employment affairs, as decreed by the Supreme Leader. The President also appoints the ministers, subject to the approval of Parliament, and the Supreme Leader who can dismiss or reinstate any of the ministers at any time, regardless of the president or parliament's decision.
Supreme Leader of Iran
The constitution of Iran combines concepts of both democracy and theocracy, theocracy in the form of Khomeini's concept of "vilayat-e faqih" (Guardianship of the Islamic Jurist), as expressed in the "Islamic Republic". According to Ayatollah Khomeini, the Guardianship of the Islamic Jurist was not restricted to orphans or mental incompetents, but applied to everyone in absence of the twelfth Imam. Jurists were the only rightful political/governmental leaders because "God had commanded Islamic government" and "no one knew religion better than the ulama" (Islamic clergy). They alone would preserve "Islamic order" and keep everyone from deviating from "the just path of Islam". Prior to the revolution observant Shia Muslims selected their own leading faqih to emulate (known as a "Marja'-i taqlid") according to their own decision making. The “congregation rather than the hierarchy decided how prominent the ayatollah was” thus allowing the public to possibly limit the influence of the Faqih.