Article 131
In case of death, dismissal, resignation, absence, or illness
lasting longer than two months of the President, or when his term
in office has ended and a new president has not been elected due to
some impediments, or similar other circumstances, his first deputy
shall assume, with the approval of the Leader, the powers and
functions of the President. The Council, consisting of the Speaker
of the Islamic Consultative Assembly, head, of the judicial power,
and the first deputy of the President, is obliged to arrange for a
new President to be elected within a maximum period of fifty days.
In case of death of the first deputy to the President, or other
matters which prevent him to perform his duties, or when the
President does not have a first deputy, the Leader shall appoint
another person in his place.