Who was elected as the Mission's first municipal magistrate?