Copiapó (kopjaˈpo) is a city and commune in northern Chile, located about 65 kilometers east of the coastal town of Caldera. Founded on December 8, 1744, it is the capital of Copiapó Province and Atacama Region. Copiapó lies about 800 km north of Santiago by the Copiapó River, in the valley of the same name. In the early 21st century, the river has dried up in response to climate change and more severe droughts. The town is surrounded by the Atacama Desert and receives 12 mm (1⁄2 in) of rain per year. The population of Copiapó was 9,128 in 1903; and 11,617 in 1907. As of 2012, there are 158,438 inhabitants. Copiapó is in a rich silver and copper mining district. A bronze statue commemorates Juan Godoy, discoverer of the Chañarcillo silver mines in the 19th century. The Copiapó-Caldera railway line, built in 1850, was the first one in South America. The first section between Caldera and Monte Amargo was inaugurated on July 4, 1850 in honor of the Independence Day, as American businessman William Wheelwright was responsible for the project. The original wooden railway station is now a National Monument. Chilean silver rush Spanish explorers founded the settlement in 1742 and named it San Francisco de la Selva de Copiapó or Saint Francis of the Jungle of Copiapó, due to its lush vegetation. Prior to Spanish occupation, the area was inhabited by the Diaguita people under the rule of the Inca Empire into the 16th century. Remains of Diaguita fortresses have been found in this area. The earliest archaeological remains of human activity in the Copiapó Valley are thought to be around 10,000 years old. The settlement developed around the remains of an Inca cemetery. After the discovery of the rich silver deposits near Chañarcillo by Juan Godoy in 1832 it became an important mining centre, and until Chile annexed Antofagasta from Bolivia and Iquique and Arica from Peru following the War of the Pacific (1879–1883), Copiapó was the nation's northernmost city and main mining city. An earthquake on 4 December 1918 caused extensive damage throughout the city.