After the Civil War, settlers migrated westward hastened by the expansion of railroads. This period saw the widespread loss of lands and traditional way of life for many Native American tribes as farmers, ranchers, and miners moved onto the Great Plains, depriving them of hunting grounds and food sources. Hispanics already living in the Southwest also lost control of lands as Anglo-Americans established new farming and ranching operations. The economy of the West transitioned from mining and cattle ranching to commercial farming. Railroads played a key role in transporting cattle and settlers despite the hardships of settling the region.