The ideas of the Age of Enlightenment () came to Spain in the 18th century with the new Bourbon dynasty, following the death of the last Habsburg monarch, Charles II, in 1700. The period of reform and 'enlightened despotism' under the eighteenth-century Bourbons focused on centralizing and modernizing the Spanish government, and improvement of infrastructure, beginning with the rule of King Charles III and the work of his minister, José Moñino, count of Floridablanca. In the political and economic sphere, the crown implemented a series of changes, collectively known as the Bourbon reforms, which were aimed at making the overseas empire more prosperous to the benefit of Spain.

The Enlightenment in Spain sought the expansion of scientific knowledge, which had been urged by Benedictine monk Benito Feijóo. From 1777 to 1816, the Spanish crown funded scientific expeditions to gather information about the potential botanical wealth of the empire. When Prussian scientist Alexander von Humboldt proposed a self-funded scientific expedition to Spanish America, the Spanish crown accorded him not only permission, but the instructions to crown officials to aid him. Spanish scholars sought to understand the decline of the Spanish empire from its earlier glory days, with the aim of reclaiming its former prestige. In Spanish America, the Enlightenment also had an impact in the intellectual and scientific sphere, with elite American-born Spanish men involved in these projects. The Napoleonic invasion of the Iberian peninsula was enormously destabilizing for Spain and the Spanish overseas empire. The ideas of the Hispanic Enlightenment have been seen as a major contributor to the Spanish American wars of independence, although the situation is more complex.

Enlightenment in Spain

Bourbon Spain

The French Bourbons had a strong claim on the Spanish throne following the death of the last Habsburg monarch, Charles II, who died without an heir in 1700. After the War of the Spanish Succession, the Bourbon dynasty was to rule the Spanish crown, on the concession to their enemies that the Spanish and French crowns were never merged, and the cession of Spanish possessions elsewhere in Europe. Once they consolidated rule in Spain, the Bourbon monarchs embarked upon a series of reforms to revitalize the Spanish empire, which had significantly declined in power in the late Habsburg era. The ideas of the Age of Enlightenment had a strong impact in Spain and a ripple effect in Spanish American Enlightenment in Spain's overseas empire. Despite the general anticlerical tendencies of the Enlightenment, Spain and Spanish America held Roman Catholicism as a core identity. When French forces under Napoleon Bonaparte invaded the Iberian peninsula and placed Napoleon's brother Joseph on the throne of Spain, there was a crisis of legitimacy in both Spain and its overseas empire. The Cortes of Cádiz, which served as a democratic Regency after Ferdinand VII was deposed, ratified a liberal constitution in 1812, limiting the power of the monarchy constitutionally as well as the power of the Catholic Church. Ferdinand VII claimed he supported the liberal constitutions, but once restored to power in 1814, he renounced it and reverted to unfettered absolutist rule. In most parts of Spanish America during the Napoleonic period in Spain, wars of independence broke out, so that by the time Bourbon Ferdinand VII was restored to the throne in 1814, much of Spanish America had achieved independence and established constitutional republics. New Spain (Mexico) and Peru were the exceptions, becoming independent in 1821 (Mexico) and 1824 (Peru). Mexico briefly had a monarchy under royalist military officer turned insurgent Agustín de Iturbide, who was overthrown in favor of a federated republic under the Constitution of 1824.

Enlightenment in Spain

The Enlightenment in Spain

The ideas of the Enlightenment in France came to Spain following the establishment of the Bourbon dynasty in Spain in 1715, with the end of the War of the Spanish Succession. In Spain, as elsewhere in much of Europe, there was no consistent pattern of the Enlightenment on the monarchy, which continued to follow existing frameworks of authority and hierarchy.

Enlightenment in Spain

A leading Spanish figure was Benito Feijóo (1676–1764) a Benedictine monk and professor. He was a successful popularizer noted for encouraging scientific and empirical thought in an effort to debunk myths and superstition. His Teatro crítico universal (1726–39) bemoaned that "physics, and mathematics are almost foreigners in Spain."