The massive amount of wood needed to build the railroad, including railroad ties, support beams for tunnels and bridges, and sheds, necessitated cutting down thousands of trees, which devastated western forests. Towns and cities that sprung up along the railroad further encroached upon what had been wild areas.