Similar to the current leader's military adviser, secretary or military prosecutor.
In the Military Affairs Bureau, the names of the officials involved in military supervision during the Ming and Qing dynasties were one of the names of the emperor's personal attendants. His responsibilities were to assist the emperor in handling military memorials, to inspect violations by the Ministry of War, Taipu Temple, and Luan Yiwei (Qing Dynasty), and to provide advice and remonstrances. In the early Ming Dynasty, the post of Shizhong was established in the previous dynasty. In the sixth year of Yongle (AD 1408), the six departments of official, household, ritual, military, criminal, and engineering were divided into six departments. The military department is assigned to one person from Shizhong, one person from each side of Shizhong, and ten people from Shizhong. The office is located in the east and west rooms outside the Meridian Gate of the palace. In the early Qing Dynasty, following the Ming system, the military department set up palm seals for the books, one for each Manchu and Han Dynasty. Give Shizhong one person each from Manchu and Han Dynasties, with a rank of five grades. In the Yuanwu period of Yongzheng (1723 AD), six departments including the military department were merged into the Metropolitan Procuratorate and officially became a supervisory agency. In the 32nd year of Guangxu (AD 1906), six departments including the military department were abolished, and the post of Shizhong was still assigned.