A district located 149 km north of Copiapó, in the Atacama Region, and with an approximate population of 14,000 inhabitants, Diego de Almagro is a city founded as a result of the exploitation of the Tres Gracias mine in the 17th century. Previously, it was known as Pueblo Hundido, which has become the most important railway junction in northern Chile, since in the early 20th century, it was a railway station of the State Railways.
The Pueblo Hundido district was officially founded on August 19, 1972. However, its name was replaced on April 13, 1977, officially becoming Diego de Almagro.