Mike Anderson sworn-in as district attorney