It took a heavy toll on the environment. 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.