stylistic:tone
Eunuchs, princes, and generals

Eunuchs gained unprecedented power over state affairs during the Ming dynasty. One of the most effective means of control was the secret service stationed in what was called the Eastern Depot at the beginning of the dynasty, later the Western Depot. This secret service was overseen by the Directorate of Ceremonial, hence this state organ's often totalitarian affiliation. Eunuchs had ranks that were equivalent to civil service ranks, only theirs had four grades instead of nine.

Descendants of the first Ming emperor were made princes and given (typically nominal) military commands, annual stipends, and large estates. The title used was "king" (王, wáng) but—unlike the princes in the Han and Jin dynasties—these estates were not feudatories, the princes did not serve any administrative function, and they partook in military affairs only during the reigns of the first two emperors. The rebellion of the Prince of Yan was justified in part as upholding the rights of the princes, but once the Yongle Emperor was enthroned, he continued his nephew's policy of disarming his brothers and moved their fiefs away from the militarized northern border. Although princes served no organ of state administration, the princes, consorts of the imperial princesses, and ennobled relatives did staff the Imperial Clan Court, which supervised the imperial genealogy.

Like scholar-officials, military generals were ranked in a hierarchic grading system and were given merit evaluations every five years (as opposed to three years for officials). However, military officers had less prestige than officials. This was due to their hereditary service (instead of solely merit-based) and Confucian values that dictated those who chose the profession of violence (wu) over the cultured pursuits of knowledge (wen). Although seen as less prestigious, military officers were not excluded from taking civil service examinations, and after 1478 the military even held their own examinations to test military skills. In addition to taking over the established bureaucratic structure from the Yuan period, the Ming emperors established the new post of the travelling military inspector. In the early half of the dynasty, men of noble lineage dominated the higher ranks of military office; this trend was reversed during the latter half of the dynasty as men from more humble origins eventually displaced them.