Gender and ethnicity also played a part in these new patterns of work: the cotton and woolen mills in New England hired primarily young unmarried girls, often straight from the farm, to tend their machines, while sweatshops most frequently exploited immigrant workers.