pedantocracy (n.)
1842, from pedant + -cracy. Coined (in French) by Mill in a letter to Comte.