Whenever any officer resigns his or her office before the expiration of his or her term, or the office becomes vacant from any other cause, and at a subsequent special election such vacancy is filled, the person so elected to fill such vacancy shall hold office for the remainder of the unexpired term.