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.
Politics of Iran
The Supreme Leader of Iran is the head of state and highest ranking political and religious authority in the Islamic Republic of Iran (above the President). The armed forces, judicial system, state television, and other key governmental organizations are under the control of the Supreme Leader. There have been only two Supreme Leaders since the founding of the Islamic Republic, and the current leader (Ali Khamenei), has been in power since 1989. His powers extend to issuing decrees and making final decisions on the economy, environment, foreign policy, education, national planning of population growth, 
the amount of transparency in elections in Iran, and who is to be fired and reinstated in the Presidential cabinet.