Arequipa (aɾeˈkipa; Aymara and Ariqipa) is a city in Peru and the capital of the eponymous province and department. It is the seat of the Constitutional Court of Peru and often dubbed the "legal capital of Peru". It is the second most populated city in Peru, after Lima, with an urban population of 1,296,278 inhabitants according to the 2017 national census. Its metropolitan area integrates twenty-one districts, including the foundational central area, which it is the seat of the city government. The city had a nominal GDP of US10,277 per capita (US$18,610 per capita PPP) in 2015, making Arequipa the city with the second-highest economic activity in Peru. Arequipa is also an important industrial and commercial center of Peru, and is considered as the second industrial city of the country. Within its industrial activity the manufactured products and the textile production of wool of camelids. The town maintains close commercial links with Chile, Bolivia, and Brazil and with the cities connected by the South trainway, as well as with the port of Matarani. The city was founded on 15 August 1540, under the name of "Beautiful Villa of Our Lady of the Assumption" in the name of Marquis Francisco Pizarro. On 22 September 1541, the monarch Carlos V ordered that it should be called the "City of Arequipa". During the viceregal period, it acquired importance for its outstanding economic role, and is characterized by the fidelismo towards the Spanish Crown, which honored Arequipa with titles such as "Very Noble and Very Loyal". In the Republican history of Peru, the city has been the focus of popular, civic and democratic rebellions. It has also been the cradle of notable intellectual, political and religious figures. In the Republican era, it was awarded the title of "Heroic city of the free people of Arequipa". Its historical center extends over an area of 332 hectares and has been declared a UNESCO World Heritage Site.