Marked by a complete set of bureaucratic establishment, the function and power of the Embroidered-Uniform Guard(Jinyiwei 錦衣衛) was almost fully-developed during the Chenghua era. The Senior Officials(Tangguan 堂官) were in charge of arrest, hearing lawsuit and city management, to which guarding the emperor was second. The Judges of North Prison(Beizhenfusi 北鎮撫司) were in charge of hearing Imperial Cases(Zhaoyu 詔獄), the North Prison was different from the Prison of Embroidered-Uniform Guard. The Embroidered-Uniform Guard mostly dealt with regular crimes in the capital.The Senior Officials and the Judges of Prison were recommended by the Ministry of War(Bingbu 兵 部). After the middle period of the Jiajing era, academic and judicial examination was the only path to official posts. Hence, the offspring of civil officials took charge of the affairs of the Embroidered-Uniform Guard, which gradually became a civilian institution. According to the responsibilities, ranking and candidate requirements of Senior Officials and Judges of Prison, in the middle and late period of the Ming dynasty, Embroidered-Uniform Guard was more likely a judicial organ responsible for public security. The evolution of the bureaucratic establishment and function and power of Embroidered-Uniform Guard was a typical case showing the policy of civil administration(Wenzhi 文 治) in middle and late Ming dynasty.