Political origins of public education systems