Between the late 19th and early 20th centuries, millions of immigrants arrived in the United States from Europe and Asia, attracted by economic opportunities. They primarily settled in urban areas, straining resources and leading to overcrowded and unsanitary living conditions. Political machines run by bosses controlled many cities and were often corrupt, though reformers pushed for changes. Photographers like Jacob Riis documented the urban problems to promote reform.