 Much of the rock in the railbed was either waste rock from mines, or tailings containing heavy metals.The railbed was also contaminated with spillage from passing trains.To remedy these environmental problems, the Union Pacific Railroad, U.S. government, the State of Idaho, and the Coeur d'Alene Tribe partnered to build a trail.