In case the person elected mayor shall die, or become unable to discharge the powers and duties of the office, after his election but before he shall have qualified as and assumed the office of mayor, the powers and duties of the office of mayor shall devolve upon the person elected as such president or presiding officer at the same election and he shall serve as and be the mayor for the term for which the mayor was elected.
This subdivision shall not affect the operation of any provision of law which limits or restricts the exercise by the president or presiding officer of the powers and duties of the mayor during a limited period of either absence of the mayor from the city or inability of the mayor to perform his powers and duties.
This subdivision shall not affect the operation of any provision of law which limits or restricts the exercise by the president pro tempore or vice-chairman of the powers and duties of the president or presiding officer during a limited period of either absence of the president or presiding officer from the city or inability of the president or presiding officer to perform his powers and duties.
N.Y. Gen. City Law § 2-A