Who could a newly elected magistrate expect to be appointed by