The Grand Secretariat was nominally a coordinating agency but de facto the highest institution in the imperial government of the Chinese Ming dynasty. It first took shape after the Hongwu Emperor abolished the office of Chancellor in 1380 and gradually evolved into an effective coordinating organ superimposed on the Six Ministries. There were altogether six Grand Secretaries, though the posts were not always filled. The most senior one was popularly called Senior Grand Secretary. The Grand Secretaries were nominally mid-level officials, ranked much lower than the Ministers, heads of the Ministries. However, since they screened documents submitted to the emperor from all governmental agencies, and had the power of drafting suggested rescripts for the emperor, generally known as piàonǐ or tiáozhǐ, some senior Grand Secretaries were able to dominate the whole government, acting as de facto Chancellor. The word nèigé itself also became to refer modern cabinet in Chinese.
Evolution
At the beginning of the Ming dynasty, the administration adopted the Yuan dynasty's model of having only one department, the Secretariat, superimposed on the Six Ministries. The Secretariat was led by two Chancellors, differentiated as being "of the left" and "of the right", who were the head of the whole officialdom in the empire. the Hongwu Emperor was concerned that such a concentration of power in the office of Chancellors would become a serious threat to the throne. In 1380, Chancellor Hu Weiyong was executed upon accusations of treason. After that, the Hongwu Emperor eradicated the Secretariat and the posts of Chancellor; Ministers of the Six Ministries directly reported to the emperor himself. The burden of the administrative details made it imperative for the emperor to seek secretarial assistance. In 1382, the Hongwu Emperor drew from the Hanlin Academy, an institution that provided literary and scholarly services to the court, several Grand Secretaries to process his administrative paperwork. These Grand Secretaries were assigned for duty to designated buildings within the imperial palace, and they were collectively known as the Grand Secretariat since the reign of the Yongle Emperor. The Grand Secretariat gradually had more effective power since the Xuande Emperor's time. During his reign, all memorials from the Ministries to the emperor had to go through the Grand Secretariat. Upon receiving a memorial, the Grand Secretaries first scrutinized it and then decided upon proper response. The rescript was then pasted to the face of the memorial and submitted with it to the emperor. Through this process known as piaoni, the Grand Secretariat became de facto the highest policy-formulation institution above the Six Ministries, and the senior Grand Secretaries had power comparable to the Chancellor of old.
Rank of Grand Secretaries
During the Ming dynasty, civil service officials were classified into nine grades, each grade subdivided into two degrees, extending from grade 1a at the top to grade 9b at the bottom. For example, the top-ranking, non-functional civil service posts of the Three Councillors of State had rank 1a, so did the office of Chancellor. Under this system, the Grand Secretaries, having merely a rank 5a, nominally ranked under various Ministers. However, the Grand Secretaries were usually given other high-ranking posts of regular administrative agencies, such as Ministers or Vice Ministers in one of the Nine Ministries. Some even obtained the title of Grand Preceptor among the Three Councillors of State. As a result, throughout the Ming dynasty, the Grand Secretaries always took precedence over other civil service officials by virtue of their honorable status among the Three Councillors of State, or their appointments as high-ranking officials in the administrative hierarchy.