Blasting through mountains to create tunnels was dangerous, as the main explosives included nitroglycerin. Native Americans thwarted the construction of railroads using violence. Many railroad workers had to physically defend themselves and some lost their lives.