The history of immigration and emigration in the United States is closely linked to the history of railroads. Immigrants were not only integral to the construction of the transcontinental railroads that facilitated western expansion, but they also used the railroad to migrate west and to form new immigrant settlements in western states and territories.