Early in the 19th century, textile production involved home workers (cottage industry). By the 1830s, factories had introduced total clothing manufacture. Factories replaced home workers with machines and unskilled labor. Young women were preferred employees in the Lowell, Massachusetts mills due to lower pay. Conditions were harsh, with long hours in hot, dark environments. In 1834, 800 female mill workers went on strike over wage cuts, though they were ultimately forced to return with no gains. Strikes by mill workers in the 1830s often failed against factory owners, who sometimes hired immigrants willing to work for less.