Railroads profited in multiple ways from the population influx that they encouraged. For example, they charged fares to passengers migrating to the region; they sold land to many of the newcomers; and they shipped back east the produce or natural resources that the newly enlarged population generated.