History of ideas

Why did some nineteenth-century states expand public schooling?