pedantocracy (n.)

1842, from pedant + -cracy "rule or government by." Coined (in French) by Mill in a letter to Comte.