The city of Cartagena, known in the colonial era as Cartagena de Indias, is a major port founded in 1533, located on the northern coast of Colombia in the Caribbean Coast Region. It was strategically located between the Magdalena and Sinú rivers and became the main port for trade between Spain and its overseas empire, establishing its importance by the early 1540s. During the colonial era it was a key port for the export of Peruvian silver to Spain and for the import of African slaves. It was defensible against pirate attacks in the Caribbean. It is the capital of the Bolívar Department, and had a population 971,592 as of 2016. It is the fifth-largest city in Colombia and the second largest in the region, after Barranquilla. The urban area of Cartagena is also the fifth-largest urban area in the country. Economic activities include the maritime and petrochemicals industries, as well as tourism.