Local man sworn in as magistrate judge