The immigrants who came to United States during the 9th and early 20th centuries largely came either for economic opportunities or to escape a negative situation in their home countries. For example, in the 1840s, Irish immigration peaked during the Irish famine, while Asian immigrants came mostly for jobs on the railroads in the West. Refugees from war and conflict were another regular source of immigrants to the United States.