Located 3km outside of Uyuni in Bolivia is an antique train cemetery. The town served in the past as a distribution hub for the trains carrying minerals on their way to the Pacific Ocean ports. The train lines were built by British engineers who arrived near the end of the 19th century and formed a sizable community in Uyuni. The trains were mostly used by the mining companies. In the 1940s, the mining industry collapsed, partly due to the mineral depletion. Many trains were abandoned thereby producing the train cemetery.