How the expansion of primary education in the West emerged not from democratic ideals but from the state’s desire to control its citizens