Elected officials sworn into office