Colonial period
Alonso de Ojeda (who had sailed with Columbus) reached the Guajira Peninsula in 1499. Spanish explorers, led by Rodrigo de Bastidas, made the first exploration of the Caribbean coast in 1500. Christopher Columbus navigated near the Caribbean in 1502. In 1508, Vasco Núñez de Balboa accompanied an expedition to the territory through the region of Gulf of Urabá and they founded the town of Santa María la Antigua del Darién in 1510, the first stable settlement on the continent. Santa Marta was founded in 1525, and Cartagena in 1533. Spanish conquistador Gonzalo Jiménez de Quesada led an expedition to the interior in April 1536, and christened the districts through which he passed "New Kingdom of Granada". In August 1538, he provisionally founded its capital near the Muisca cacicazgo of Muyquytá, and named it "Santa Fe". The name soon acquired a suffix and was called Santa Fe de Bogotá. Two other notable journeys by early conquistadors to the interior took place in the same period. Sebastián de Belalcázar, conqueror of Quito, traveled north and founded Cali, in 1536, and Popayán, in 1537; from 1536 to 1539, German conquistador Nikolaus Federmann crossed the Llanos Orientales and went over the Cordillera Oriental in a search for El Dorado, the "city of gold". The legend and the gold would play a pivotal role in luring the Spanish and other Europeans to New Granada during the 16th and 17th centuries.
The conquistadors made frequent alliances with the enemies of different indigenous communities. Indigenous allies were crucial to conquest, as well as to creating and maintaining empire. Indigenous peoples in Colombia experienced a decline in population due to conquest as well as Eurasian diseases, such as smallpox, to which they had no immunity. Regarding the land as deserted, the Spanish Crown sold properties to all persons interested in colonized territories, creating large farms and possession of mines. In the 16th century, the nautical science in Spain reached a great development thanks to numerous scientific figures of the Casa de Contratación and nautical science was an essential pillar of the Iberian expansion. In 1542, the region of New Granada, along with all other Spanish possessions in South America, became part of the Viceroyalty of Peru, with its capital in Lima. In 1547, New Granada became a separate captaincy-general within the viceroyalty, with its capital at Santa Fe de Bogota. In 1549, the Royal Audiencia was created by a royal decree, and New Granada was ruled by the Royal Audience of Santa Fe de Bogotá, which at that time comprised the provinces of Santa Marta, Rio de San Juan, Popayán, Guayana and Cartagena. But important decisions were taken from the colony to Spain by the Council of the Indies.
In the 16th century, European slave traders had begun to bring enslaved Africans to the Americas. Spain was the only European power that did not establish factories in Africa to purchase slaves; the Spanish Empire instead relied on the asiento system, awarding merchants from other European nations the license to trade enslaved peoples to their overseas territories. This system brought Africans to Colombia, although many spoke out against the institution. The indigenous peoples could not be enslaved because they were legally subjects of the Spanish Crown. To protect the indigenous peoples, several forms of land ownership and regulation were established by the Spanish colonial authorities: resguardos, encomiendas and haciendas.
However, secret anti-Spanish discontentment was already brewing for Colombians since Spain prohibited direct trade between the Viceroyalty of Peru, which included Colombia, and the Viceroyalty of New Spain, which included the Philippines, the source of Asian products like silk and porcelain which was in demand in the Americas. Illegal trade between Peruvians, Filipinos, and Mexicans continued in secret, as smuggled Asian goods ended up in Córdoba, Colombia, the distribution center for illegal Asian imports, due to the collusion between these peoples against the authorities in Spain. They settled and traded with each other while disobeying the forced Spanish monopoly.
The Viceroyalty of New Granada was established in 1717, then temporarily removed, and then re-established in 1739. Its capital was Santa Fé de Bogotá. This Viceroyalty included some other provinces of northwestern South America that had previously been under the jurisdiction of the Viceroyalties of New Spain or Peru and correspond mainly to today's Venezuela, Ecuador, and Panama. Bogotá became one of the principal administrative centers of the Spanish possessions in the New World, along with Lima and Mexico City, though it remained less developed compared to those two cities in several economic and logistical ways.
Great Britain declared war on Spain in 1739, and the city of Cartagena quickly became a top target for the British. A massive British expeditionary force was dispatched to capture the city, but, after achieving initial inroads, devastating outbreaks of disease crippled their numbers, and the British were forced to withdraw. The battle became one of Spain's most decisive victories in the conflict, and secured Spanish dominance in the Caribbean until the Seven Years' War. The 18th-century priest, botanist, and mathematician José Celestino Mutis was delegated by Viceroy Antonio Caballero y Góngora to conduct an inventory of the nature of New Granada. Started in 1783, this became known as the Royal Botanical Expedition to New Granada. It classified plants and wildlife, and founded the first astronomical observatory in the city of Santa Fe de Bogotá. In July 1801 the Prussian scientist Alexander von Humboldt reached Santa Fe de Bogotá where he met with Mutis. In addition, historical figures in the process of independence in New Granada emerged from the expedition as the astronomer Francisco José de Caldas, the scientist Francisco Antonio Zea, the zoologist Jorge Tadeo Lozano and the painter Salvador Rizo.