The intense development of the cotton mills and their employment of children during the late 18 and early 19 centuries precipitated strong debate about the welfare of children and the ethics of child labour. This ultimately led, throughout the 19th Century, to legislation being passed; creating the beginnings of a state education system.