What attracted African Americans and European immigrants to the West?