Officials sworn into office