They didn't dismantle them; they just started out better than intended.  Public schooling is a pretty modern idea and has yet to be shown to have any benefits over dedicated home/neighbourhood schooling (other than giving women an chance to be able to pay taxes)