yes.
the magistrate, also known as the satrap, was the name of the local official in ancient China, and the highest executive of the state government. According to the official records of ancient official history (official records of 1 officials), at the end of the Eastern Han Dynasty, the state changed from a monitoring area to an administrative area, and the state chief called it "state shepherd" to take charge of a state's military and civilians. In the Sui Dynasty, the supreme governor of the state called it "the secretariat of history" or "the satrap", and in the Tang and Song Dynasties, the prefecture-level local governor was formally established as "the magistrate's affairs".
The Magistrate's Office is a complete county-level physical specimen left by Qin Shihuang since he set up the county system. The existing building is a historical archives, which is not only the epitome of the Forbidden City in Beijing, but also the symbol of Nanyang as a national historical and cultural city, with high historical, artistic, scientific and cultural value. Magistrate yamen is a pearl of Nanyang historical and cultural city, shining brilliantly.
Extended information:
Since the Tang Dynasty, it has been practiced to take other official positions as "magistrate affairs" or "power magistrate affairs", but "magistrate affairs" is not a formal official name, and its jurisdiction may be very different from that of later state capitals. The five dynasties followed the Tang system unchanged and had similar practices.
in the song dynasty, local governors were set up in the government, state, army and prison, and the local governors of the government were magistrates, who generally held other official positions. therefore, the magistrate of the border state government may have greater military and political power than the general state government. In the Yuan Dynasty, the abandoned government set up roads, and the local governor at the road level was Lu Huachi, who only held the position of "magistrate" in the scattered government and was one of the subordinate officials of Lu Huachi.
The Song system was generally restored in the Ming Dynasty, and the official name was officially changed to magistrate.
Baidu encyclopedia-magistrate