When a vacancy occurs in any local elected office other than a constitutional office, local governing body, or an elected school board, a majority of the judges of the judicial circuit for the county or city in which it occurs shall make an interim appointment to the office until the vacancy can be filled by special election. The senior judge shall make the appointment if a majority of the judges cannot agree. The chief or senior deputy, if there is one in the office, shall perform all the duties of the office until the person appointed to fill the vacancy has qualified. The person so appointed shall hold office until the qualified voters fill the vacancy by election and the person so elected has qualified.
Va. Code § 24.2-227