The examination state
For thirteen centuries, China selected much of its imperial bureaucracy through written examination on the Confucian classics, open in principle to any man who could afford years of study. Candidates sat sequestered in numbered cells for days at a time, and passing the highest-level exam could lift a farmer's son into the ruling class within a generation — a level of formal meritocracy no Western government approached until the nineteenth century, even though wealth and family connections still shaped who could prepare.