{"id":12767,"date":"2026-02-04T13:03:44","date_gmt":"2026-02-04T12:03:44","guid":{"rendered":"https:\/\/historyofspain.es\/history-of-spain-in-the-xix-century\/"},"modified":"2026-02-04T13:07:42","modified_gmt":"2026-02-04T12:07:42","slug":"history-of-spain-in-the-xix-century","status":"publish","type":"post","link":"https:\/\/historyofspain.es\/en\/history-of-spain-in-the-xix-century\/","title":{"rendered":"History of Spain in the XIX Century"},"content":{"rendered":"\n<p>When we think about the <strong>Spanish XIX Century<\/strong>, one image often comes to mind: <strong>a country that never stopped changing its mind<\/strong>. One day it wanted to be modern, the next it returned to old habits. It was as if Spain were a rebellious teenager, unsure of what it wanted to do with its future.<\/p>\n\n<p>In just one hundred years, extraordinary things happened. <strong>Spain began the century invaded by Napoleon and ended it as a country with a constitution, a parliament, and railways.<\/strong> Along the way, there was everything: civil wars that tore families apart, revolutions that changed the nation\u2019s direction, and political experiments that sometimes worked and other times ended in complete disaster.<\/p>\n\n<p>What is most striking is how Spaniards at the time lived in constant uncertainty. They never knew whether the current government would last or if another military uprising would take place the very next day. Living like that must have been exhausting.<\/p>\n\n<h2 class=\"wp-block-heading\">The Peninsular War (1808\u20131814)<\/h2>\n\n<p>Everything began badly <strong>in 1808. Napoleon<\/strong>, who had already conquered much of Europe, <strong>decided that Spain should belong to him as well<\/strong>. He took advantage of the Spanish royal family\u2019s internal conflicts to send in his troops. But something unexpected happened: Spaniards said \u201cenough is enough\u201d and rose up in arms.<\/p>\n\n<p><strong>This war was truly brutal<\/strong>. For six years, ordinary people became guerrilla fighters. Farmers who had never fired a shot in their lives hid behind rocks to ambush French soldiers. It was David versus Goliath, multiplied a thousand times over.<\/p>\n\n<p><a href=\"https:\/\/historyofspain.es\/en\/video\/francisco-de-goya\/\"><strong>Goya<\/strong><\/a><strong> painted the horrors he witnessed<\/strong>, and his works are chilling. But the most important part was not the battles themselves. For the first time, Spaniards began to feel truly Spanish. They were no longer just Aragonese, Castilians, or Andalusians. <strong>They were Spaniards fighting against an invader.<\/strong><\/p>\n\n<p>This war changed the country\u2019s very DNA. Before, people obeyed the king without question. Afterwards, they began to think that perhaps the people also had a voice.<\/p>\n\n<h2 class=\"wp-block-heading\">The Constitution of C\u00e1diz of 1812<\/h2>\n\n<p>While the entire country was at war, something extraordinary was happening in <a href=\"https:\/\/historyofspain.es\/en\/video\/visit-cadiz\/\">C\u00e1diz<\/a>. It was one of the few cities the French had failed to capture, and there the remaining politicians gathered to do something revolutionary: write Spain\u2019s first constitution.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812-1024x683.png\" alt=\"the constitution of 1812\" class=\"wp-image-11798\" srcset=\"https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812-1024x683.png 1024w, https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812-300x200.png 300w, https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812-768x512.png 768w, https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812-450x300.png 450w, https:\/\/historyofspain.es\/wp-content\/uploads\/2025\/08\/constitucion-cadiz-1812.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<p><strong>The Constitution of 1812<\/strong> was groundbreaking for its time. People called it <a href=\"https:\/\/en.wikipedia.org\/wiki\/Spanish_Constitution_of_1812\"><strong>\u201cLa Pepa\u201d<\/strong><\/a> because it was approved on March 19, Saint Joseph\u2019s Day. It introduced ideas that sounded almost futuristic: that power belonged to the people, not the king; that powers should be separated; and that the press should be free. It was as if Spain had leapt forward overnight.<\/p>\n\n<p>When Ferdinand VII returned to the throne in 1814, the first thing he did was throw the constitution into the trash. But it was too late. The idea had taken root, and Spain could now imagine a different future.<\/p>\n\n<h2 class=\"wp-block-heading\">Ferdinand VII, the king who played political ping-pong<\/h2>\n\n<p><strong>Ferdinand VII<\/strong> was a character straight out of a movie. First, he <strong>ruled as an absolutist monarch<\/strong>, persecuting everyone who had supported the constitution. Then, in 1820, a colonel named Rafael del Riego led an uprising and forced him to swear loyalty to the constitution once again. This began the Liberal Triennium.<\/p>\n\n<p>During those three years, Spain tried to become a truly modern country. Reforms were passed, the press was freed, and people began speaking openly about rights. But Ferdinand did not stand still. He asked his European allies for help, and in 1823 a French army arrived, restoring his absolute power.<\/p>\n\n<p>What followed was the so-called &#8220;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Ominous_Decade\">Ominous Decade<\/a>&#8220;: ten years of total repression. Ferdinand took revenge on the liberals, closed universities, banned books, and turned Spain into a prison. It was as if the country had been pushed back fifty years overnight.<\/p>\n\n<h2 class=\"wp-block-heading\">The Carlist Wars and the struggle over Spain\u2019s political model<\/h2>\n\n<p>When <strong>Ferdinand VII died in 1833<\/strong>, Spain split in two. The question was who should rule: his daughter Isabella, a three-year-old child, or his brother Infante Carlos Mar\u00eda Isidro.<\/p>\n\n<p>But this was far more than a family dispute. The Carlists represented traditional Spain: deeply Catholic, opposed to change, and defenders of regional privileges. The supporters of Isabella stood for a liberal and modern country. It was as if two completely different Spains were fighting to the death.<\/p>\n\n<p>The result was three civil wars that lasted for decades (1833\u20131840, 1846\u20131849, 1872\u20131876). The first was the bloodiest. The Carlists were especially strong in Navarre, the Basque Country, Aragon, and Catalonia. Stories from the time tell of families divided, even brothers killing one another.<\/p>\n\n<p><strong>These wars left deep scars on the country.<\/strong> The divisions between \u201cthe two Spains\u201d never completely disappeared.<\/p>\n\n<h2 class=\"wp-block-heading\">The reign of Isabella II and political instability (1833\u20131868)<\/h2>\n\n<p><strong>The reign of Isabella II was a constant struggle<\/strong>. Every few years there was a military coup, a government fell, and a new constitution was written. Spanish generals had grown used to the idea that if they disliked something, they could simply overthrow it.<\/p>\n\n<p><strong>During these years, several constitutions came and went<\/strong> as if they were trading cards: the one of 1837, the one of 1845, and even another in 1856 that was never fully implemented. Figures such as Espartero, Narv\u00e1ez, and O&#8217;Donnell rotated in power, always after yet another uprising.<\/p>\n\n<p>But it was not all coups. Spain also began to change internally. The first railways arrived, factories opened in Catalonia, and industry developed in the Basque Country. <strong>The bourgeoisie gained wealth and influence, while peasants continued living in poverty.<\/strong><\/p>\n\n<p>The first labor conflicts also emerged. <strong>Factory conditions were horrific, and workers began to organize.<\/strong> Socialist and anarchist ideas arrived from France, and the first unions appeared.<\/p>\n\n<h2 class=\"wp-block-heading\">\u201cLa Gloriosa,\u201d when Spain said \u201cenough is enough\u201d<\/h2>\n\n<p><strong>In 1868<\/strong>, Spaniards finally reached their limit. <strong>The September Revolution, known as \u201cLa Gloriosa,\u201d sent Isabella II into exile<\/strong>. But then came the question: what now?<\/p>\n\n<p>First they tried an Italian king, Amadeo of Savoy. The poor man had no idea what he was walking into. He arrived in Madrid without allies, barely speaking Spanish, and with everyone against him. Republicans rejected him for being a king, monarchists rejected him for being foreign, and the Carlists continued their war. After two years, he fled back to Italy.<\/p>\n\n<p>Then came the First Spanish Republic. In theory, it sounded wonderful: Spain would finally become a modern democratic republic. In practice, it was a disaster. Republicans fought among themselves, civil war erupted again, and some cities even declared independence. It was total chaos.<\/p>\n\n<h2 class=\"wp-block-heading\">The Restoration, finally some stability<\/h2>\n\n<p>In 1874, General Arsenio Mart\u00ednez Campos led the last major military coup of the century and restored the monarchy with Alfonso XII, the son of Isabella II. Antonio C\u00e1novas del Castillo designed a political system meant to end decades of instability, beginning the period known as the Restoration.<\/p>\n\n<p>The key was the so-called \u201cpeaceful turn\u201d between two parties, the Liberal Party and the Conservative Party, which would alternate in power in an orderly way. It was somewhat of a sham, since elections were manipulated by local political bosses, but at least the coups came to an end. Politicians learned to change governments without guns.<\/p>\n\n<p>This system brought stability for the first time in decades. The railway network was completed, more schools opened, industry expanded, and the first modern banks were created. <strong>Spain began to look like a normal European country.<\/strong><\/p>\n\n<p>But new problems also emerged. Workers organized into unions and began striking. Catalans and Basques developed their own nationalist movements. The gap between rich and poor widened. And women still had no political rights.<\/p>\n\n<h2 class=\"wp-block-heading\">Legacy of the XIX Century in the history of Spain<\/h2>\n\n<p><strong>By the end of the XIX Century, Spain was a completely different country.<\/strong> It had gone from being a medieval absolutist monarchy to a modern state with a constitution, parliament, a free press, and political parties. Not everything worked perfectly, but the foundations had been laid.<\/p>\n\n<p>Spaniards had learned concepts that barely existed before: nationhood, citizenship, rights, and democracy. They knew how to vote, read newspapers, organize unions, and form political parties. Liberal ideas spread across the country, even as they coexisted with deeply conservative traditions.<\/p>\n\n<p>It was a mad century, but in the end Spain achieved something that once seemed impossible: leaving the Old Regime behind and entering modernity. It came at the cost of blood and tears, but it happened. And it prepared the ground for the challenges of the twentieth century, which would not be easy either.<\/p>\n\n<p>Among the most significant legacies of this century were:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>The definitive establishment of the <strong>constitutional state<\/strong>.<\/li>\n\n\n\n<li>The rise of <strong>parliamentary government<\/strong> and the first democratic experiments.<\/li>\n\n\n\n<li>The emergence of a <strong>civil society<\/strong> with new social classes: bourgeoisie, proletariat, and small landowners.<\/li>\n\n\n\n<li>The beginnings of the <strong>labor movement<\/strong>, which would strongly shape the twentieth century.<\/li>\n\n\n\n<li>The roots of regional nationalisms and the debate over Spain\u2019s territorial model.<\/li>\n<\/ul>\n\n<p>In short, the <strong><em>history of the XIX Century in Spain<\/em><\/strong> is the story of an intense, chaotic, and fascinating transformation. It was the century in which the country confronted itself, broke with its absolutist past, and laid the foundations of the modern political system. A turbulent period full of contradictions, but also of progress that permanently shaped Spain\u2019s identity.<\/p>\n\n<p>\ud83d\udc49 If you want to keep discovering how our history was forged, don\u2019t miss more articles on our <a href=\"https:\/\/historyofspain.es\/en\/blog\/\">blog specialized in the history of Spain<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we think about the Spanish XIX Century, one image often comes to mind: a country that never stopped changing its mind. One day it wanted to be modern, the next it returned to old habits. It was as if Spain were a rebellious teenager, unsure of what it wanted to do with its future. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12769,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[247],"tags":[],"class_list":["post-12767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-contemporary-history"],"acf":[],"_links":{"self":[{"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/posts\/12767"}],"collection":[{"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/comments?post=12767"}],"version-history":[{"count":1,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/posts\/12767\/revisions"}],"predecessor-version":[{"id":12768,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/posts\/12767\/revisions\/12768"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/media\/12769"}],"wp:attachment":[{"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/media?parent=12767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/categories?post=12767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/historyofspain.es\/en\/wp-json\/wp\/v2\/tags?post=12767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}