Mill workers lived in small houses near factories with no initial laws protecting child workers. Factories employed children because they were cheap labor with nimble fingers ideal for dangerous work under machines, though an 1841 law prohibited children under 10 from mining. Cotton mills spun cotton into thread in factories.