Twenty-one freight train cars carrying oil and gas derailed 30 miles outside of Pittsburgh Thursday morning, crashing into a specialty metals company’s building. No one was injured, the Pittsburgh Post-Gazette reported.

Oil leaked from three of the 19 overturned cars of the 120-car Norfolk Southern Railway train, all carrying crude oil thick enough to lift with a shovel. Hazmat crews and a three-person team from Pennsylvania’s Department of Environmental Protection were able to contain the oil spillage before it contaminated any water sources. Two other derailed cars were carrying liquid propane.

Employees at MSI Corp. told the Post-Gazette that they heard a “tremendous crash.” When the cars smashed into the building, they demolished equipment used to mill steel blocks.

The railroad is investigating the cause of the crash.