In response to an increase in the number of immigrants filling jobs in northern factories in the early 19th century