Notwithstanding any inconsistent provision of law, a person who is a fire district commissioner, may, if he is otherwise qualified, be a candidate for nomination, and may be nominated by the fire district fire department, for the office of chief or any assistant chief of the fire department, but only if such commissioner has filed with the fire district secretary at least five days, but not more than ten days, before the meeting of the fire department at which any such nomination would be made a written notice that he will be a candidate for such nomination. If a fire district commissioner is a candidate for nomination for any such office in the fire department and he is duly nominated for such office at a meeting of the fire department, he shall forthwith cease to be a fire district commissioner and his office as such commissioner shall thereupon become vacant. If a fire district commissioner is a candidate for nomination for any such office in the fire department and he is defeated for such nomination at the meeting of the fire department, he shall not participate in any vote of the board of fire commissioners in relation to the appointment of the successful nominee to the office for which such commissioner and such successful nominee were opposing candidates.
Notwithstanding any inconsistent provision of law, a person who is the chief or an assistant chief of the fire district fire department, if he is otherwise qualified, may be elected to the office of fire district commissioner or may be appointed to the office of fire district commissioner to fill a vacancy and, if he is so elected or appointed, his office as chief or assistant chief, as the case maybe, shall become vacant upon his taking his oath of office as fire district commissioner.
N.Y. Town Law § 174