The imperial courts sent thousands of highly-educated administrators throughout the empire and China was ruled not by hereditary nobles or even elected representatives, but by a class of men who had received rigorous training and had passed very stringent examinations to prove they were qualified to lead.
It's interesting to see how China established a system where training and talent mattered more than your birthright and lineage in order to rule. Seeing that in places like Europe, for example, your lineage is often what determined who would be next to lead the country. Despite both continents being so close, it is an interesting thing to see how much they differ in this aspect. There also comes the question that if this was also a tactic used to ensure conformity, especially politically and ideologically, due to everyone being trained in the same manner. This would ensure that across their empire, the same ideologies and beliefs could be enforced.