county magistrate — public office in imperial China