The position of a magistrate is equivalent to that of a prefecture-level city, where the secretary of the municipal party committee concurrently serves as the mayor, and the fellow magistrate is the only deputy mayor.
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. The magistrate is in charge of the government's decrees, and always leads the counties. It is his duty to announce state decrees, govern the people, adjudicate lawsuits, inspect traitors, assess officials, collect taxes and other government affairs.
Extended information:
In many dynasties in China, the position of "magistrate" was set up. The official position of "magistrate" is a combination of "knowledge" and "government". As a first-class local administrative unit, the evolution of government has gone through a long process. During the Wei and Jin Dynasties, the state secretariat held the post of general. The state secretariat is a civilian, and the general is Wu Zhi. The state has its own yamen and staff, and the general also has his yamen and staff. The general's yamen is called "Fu".
in the Tang dynasty, the central government set up offices in the capital, the capital and the states where the emperor served before he ascended the throne, such as Jingzhao, Henan and Taiyuan. The governor of the government is called the prefect. The five dynasties followed the Tang system unchanged and had similar practices. During the Song Dynasty, the number of government offices gradually increased. The government is subordinate to Lu (Lu is a first-level administrative division between the central government and the state).
establish local governors in the government, state, army and prison, and the local governor of the government is "knowing the affairs of the government", which is called "the magistrate" for short. In the Song Dynasty, the magistrate always led the military and political affairs of a state, and the specific power was slightly different from state to state. Because there are special circumstances in different places, the magistrate will generally hold other official positions, so the magistrate of the border state government may have greater military and political power than the general state government.