In the late 19th and early 20th centuries, the cities attracted immigrants from southern and eastern Europe and from the South. In 1910 there were 6,000 African Americans in the city. With the Great Migration underway from the rural South, to leave behind Jim Crow and disenfranchisement, by 1917, the African-American population in East St. Louis had doubled. Whites were generally hired first and given higher–paying jobs, but there were still opportunities for American blacks. If hired as strikebreakers, they were resented by white workers, and both groups competed for jobs and limited housing in East St. Louis. The city had not been able to keep up with the rapid growth of population. The United States was developing war industries to support its eventual entry into the Great War, now known as World War I.