A vacancy in the office of mayor must be filled by—
(a) if the office becomes vacant during the beginning or middle of the local government’s term—a by-election; or
(b) if the office becomes vacant during the final part of the local government’s term—the local government appointing, by resolution, another councillor to the office.