linguistic:voice_change, stylistic:style_transfer, information:highlighting, information:extraction
Nineteenth century

Political unease over the Spanish monarchy and the rights of citizens born in the Americas had been felt throughout the Spanish colonies in America, and it was expressed in New Granada in many different ways, accelerating the movement to independence. One of the most transcendent was the Insurrection of the Comuneros, a riot by the locals that started in Villa del Socorro —current Department of Santander —in March 1781. Spanish authorities suppressed the riot, and José Antonio Galán, the leader, was executed. He left an imprint, though. One of the soldiers witnessing his execution was an intellectually curious, noble teenager named Antonio Nariño, who was deeply impressed by both the insurrection and the execution. Nariño went on to become a politician in Santafé, and he became acquainted with the liberal ideas in vogue in Europe. He started organizing clandestine meetings with other intellectuals and politicians to discuss and promote the independence of the American colonies from the Spanish crown. In 1794, Nariño clandestinely translated and published in Santa Fe the Declaration of the Rights of Men and of the Citizen, and copies of his translation were distributed all over the continent and started creating a stirring in the political mentalities of the time. The Spanish government had banned the distribution of the pamphlet and soon discovered the material and burned any copy that they could find. Nariño was arrested on 29 August 1794, and sentenced to ten years of imprisonment and to have all of his properties confiscated, and was sent to exile the year after. Those suspected of being part of Nariño's intellectual circle were also persecuted, but his ideas had become widespread.

In 1807, following the French invasion of Spain and the subsequent abdication of the House of Bourbon in Spain, pressed by Napoleon to give the crown to his brother Joseph, resulting in the destruction of the Spanish administration, many in Spain and in the American colonies created local resistance governments called Juntas. The dissolution of the Supreme Central Junta, following a series of military defeats in the Spanish troops promoted the creation of local juntas all throughout Latin America, which very soon consolidated the independentist ideas already in vogue. After the establishment of a junta in Cartagena de Indias on 22 May 1810, and in many other cities throughout the Viceroyalty, the Junta de Santa Fe was established on 20 July 1810, in what is often called the Colombian Declaration of Independence. The Junta adopted the name of "Supreme Junta of the New Kingdom of Granada", and first swore allegiance to Viceroy Antonio José Amar y Borbón, and appointed him as president, but then he was deposed and arrested five days later. After declaring independence from Spain the different juntas attempted to establish a congress of provinces, but they were unable to do so and military conflicts soon emerged.

The period between 1810 and 1816 was marked by intense conflict between federalist and centralist factions over the nature of the new government of the recently emancipated juntas, a period that has become known as la Patria Boba. The Province of Santafé became the Free and Independent State of Cundinamarca, which soon became embroiled in a civil war against other of the local juntas which banded together to form the United Provinces of New Granada and advocated for a federalist government system. Following a failed military campaign against Quito, General Simón Bolívar of the United Provinces led a campaign that led to the surrender of the Cundinamarca province in December 1814.

In Spain, the war had ended and the Spanish monarchy was restored on 11 December 1813. King Ferdinand VII of Spain declared the uprisings in the colonies illegal and sent a large army to quell the rebellions and reconquer the lost colonies, for which he appointed General Pablo Morillo. Morillo led a successful military campaign that culminated in the capture of Santafé on 6 May 1816.

In 1819, Bolívar initiated his campaign to liberate New Granada. Following a series of battles, the last of which was the Battle of Boyacá, the republican army led by Bolívar cleared its way to Santafé, where he arrived victorious on 10 August 1819. It was Simón Bolívar who rebaptized the city with the name of Bogotá, to honor the Muisca people and to emphasize the emancipation from Spain. Bogotá then became the capital of the Gran Colombia.

Between 1819 and 1849, there were no fundamental structural changes from the colonial period. By the mid-19th century, a series of fundamental reforms were enacted, some of the most important being slavery abolition and religious, teaching, print and speech industry and trade freedom, among others. During the decade of the 70s, radicalism accelerated reforms and state and social institutions were substantially modified. However, during the second half of the century, the country faced permanent pronouncements, declarations of rebellions between states, and factions which resulted in civil wars: the last and bloodiest was the Thousand Days' War from 1899 to 1902.

In 1823, a few years after the formation of Gran Colombia, the Public Library, now the National Library, was enlarged and modernized with new volumes and better facilities. The National Museum was founded. Those institutions were of great importance to the new republic's cultural development. The Central University was the first State school, precursor of the current National University, founded in 1867 and domiciled in Bogotá.