Democracy is the rule of the people. Is there a term for rule of the wise?
Meritocracy is a political system in which economic goods and/or political power are vested in individual people on the basis of talent, effort, and achievement, rather than wealth or social class. Advancement in such a system is based on performance, as measured through examination or demonstrated achievement.
Are or were there any such countries?