Article 110 of the Iranian Constitution, detailing the powers of the Supreme Leader. Note in particular the bolded clauses:
*Article 110 [Leadership Duties and Powers]
(1) Following are the duties and powers of the Leadership:
Delineation of the general policies of the Islamic Republic of Iran after consultation with the Nation’s Exigency Council.
Supervision over the proper execution of the general policies of the system.
Issuing decrees for national referenda.
**4. Assuming supreme command of the Armed Forces.
Declaration of war and peace and the mobilization of the Armed Forces.
Appointment, dismissal, and resignation of:
a. the religious men on the Guardian Council,
b. the supreme judicial authority of the country,
c. the head of the radio and television network of the Islamic Republic of Iran,
d. the chief of the joint staff,
e. the chief commander of the Isalmic Revolution Guards Corps, and
f. the supreme commanders of the Armed Forces.
Resolving differences between the three wings of the Armed Forces and regulation of their relations.**
Resolving the problems which cannot be solved by conventional methods, through the Nation’s Exigency Council.
Signing the decree formalizing the election of the President of the Republic by the people. The suitability of candidates for the Presidency of the Republic, with respect to the qualifications specified in the Constitution, must be confirmed before elections take place by the Guardian Council, and, in the case of the first term of a President, by the Leadership.
Dismissal of the President of the Republic, with due regard for the interests of the country, after the Supreme Court holds him guilty of the violation of his constitutional duties, or after a vote of the Islamic Consultative Assembly testifying to his incompetence on the basis of Article 89.
Pardoning or reducing the sentences of convicts, within the framework of Islamic criteria, on a recommendation from the Head of judicial power.
(2) The Leader may delegate part of his duties and powers to another person.*