From Atapuerca and Roman Hispania to al-Andalus, a global empire and the Spain of today, scroll through the rulers and moments that shaped Spain.
Explore Spain’s kings, queens, emirs, caliphs, royal houses, republics and lines of succession, and every prime minister of Spain since 1823.
Roman Hispania, Visigothic kingdom and Muslim al-Andalus, united under the Catholic Monarchs, once the heart of a worldwide empire and since 1978 a democratic parliamentary monarchy.
Phoenician, Greek and Carthaginian traders settled along the coasts of Iberia before Rome landed in 218 BCE and spent two centuries conquering the peninsula. Roman Hispania later passed to the Visigoths, who ruled it from Toledo.
In 711 Muslim armies crossed from Africa, and al-Andalus flourished under the caliphs of Córdoba. Christian kingdoms in the north slowly pushed south, and their victory at Las Navas de Tolosa in 1212 broke the power of the Almohads.
The marriage of Ferdinand and Isabella in 1469 bound Castile to Aragon, and in 1492 they took Granada while Columbus reached the Americas. Under Charles V and Philip II Spain held a worldwide empire; after long decline, the French invasion of 1808 gave rise to the liberal Constitution of Cádiz.
After a century of civil wars and the loss of the last American colonies in 1898, the Civil War of 1936–39 brought the dictatorship of Francisco Franco. When he died in 1975 the country returned to democracy under King Juan Carlos, with the 1978 constitution and entry into the European Community in 1986.
On 1 January of each year, islands, Ceuta and Melilla included. Immigration has driven nearly all the growth since 2000; numbers stalled in the years after the 2008 crisis and then climbed again.
Spain borders Portugal, France and Andorra in Europe and the British territory of Gibraltar in the south; its North African cities of Ceuta and Melilla border Morocco
Red, yellow and red, the yellow band twice as wide and carrying the arms towards the hoist. Charles III chose these colours for his navy in 1785; all the armed forces took the flag in 1843, the Second Republic replaced it with a tricolour in 1931, and it was brought back in 1936.
Castle, lion, bars and chains stand for Castile, León, Aragon and Navarre, with the pomegranate of Granada at the base and the Bourbon lilies in the centre. The pillars and the motto Plus Ultra come from Charles V; the present form was set by law in 1981.
Image credits
Pictures on this page, from Wikimedia Commons and Natural Earth
El EscorialTurismo Madrid Consorcio Turístico from Madrid, EspañaCC BY 2.0
Emperor Charles VTitian (1548)Public domain
Flag of SpainGovernment of Spain (SVG: Wikimedia Commons contributors; folds added)Public domainFrom Phoenician Gadir to the Kingdom of Spain, 800 BCE – Today
Twenty-eight centuries on one map: the peoples and colonies of ancient Iberia, Roman Hispania, the Visigoths, al-Andalus and the Christian kingdoms, a monarchy that reached from Mexico to Manila, and the Spain of today. Move to any year, or follow 48 narrated chapters.
Move the slider to any year: every state recorded for that year is drawn. Spain and the Christian kingdoms it grew from (Asturias, León, Castile, Navarre, Aragon, Barcelona) are red, rival Spanish governments in the Succession and Civil Wars dark red, the other powers that ruled the peninsula in the current chapter (Carthage, Rome, the Visigoths, the Umayyads, Almoravids and Almohads) green, and all other states grey; 48 chapters carry the story, and the dashed line is Spain today, for orientation. Hover a territory for its name and dates; click it to open its Wikipedia article. Borders are approximate reconstructions: frontier zones, claimed lands and protectorates are drawn as solid territory where the dataset includes them, and areas are the size of those polygons, not of effective control. Small settlements may be missing, such as the first Caribbean colony of the 1490s.
Heraldry, defining events and notable members of Nasrid Dynasty.
1238–1492
Arab family from Arjona (Jaén) that seized power in the break-up of Almohad al-Andalus.
Muhammad I of GranadaSultan of Granada1238 - 1273
Muhammad II of GranadaSultan of Granada1273 - 1302
Muhammad III of GranadaSultan of Granada1302 - 1309
Abu l-Hasan AliSultan of Granada1464 - 1485
Muhammad XII (Boabdil)Sultan of Granada1482 - 1483; 1487 - 1492Muhammad I ibn al-Ahmar established the Emirate of Granada in 1238, as Castile advanced across the Guadalquivir valley. By paying tribute to Castile and balancing it against the Marinids of Morocco, the Nasrids kept the last Muslim state in Iberia alive for two and a half centuries.
The dynasty built the Alhambra, the most celebrated palace complex of Islamic Spain. Dynastic feuds weakened Granada in the late 15th century, and Muhammad XII (Boabdil) surrendered the city to the Catholic Monarchs on 2 January 1492.
Granada becomes a tributary of Castile.
Yusuf I and later Muhammad V build the Comares and Lions palaces.
Founder of the dynasty and of the Alhambra fortress-palace.
Builder of the Court of the Lions.
Surrendered Granada in 1492.
The Nasrid shield, a diagonal band bearing the motto wa-la ghaliba illa Allah ('There is no victor but God'), appears throughout the Alhambra's decoration.
Colours: red, gold
Decorative monogram shown. Heraldic artwork has not yet been added.
Explore heraldic references ↗Taifas, Almoravids and Almohads
Catholic Monarchs of Castile and Aragon
If the page stays blank, the site doesn't allow embedding — use “Open in new tab”.
Spain’s legacy is layered and contested: its language, art, faith and institutions travelled across the world, while conquest, empire, expulsion and dictatorship left consequences that remain visible today.
Castilian grew from the Latin of Hispania, enriched by Arabic, and became the first European vernacular with a printed grammar (Nebrija, 1492). Today it is the mother tongue of nearly 500 million people, and writers from Cervantes and Lope de Vega to Lorca carry a global readership.
Muslim, Christian and Jewish communities shared cities such as Córdoba and Toledo for centuries. Their translators carried Greek and Arabic science and philosophy into Latin Europe, and the Alhambra and the Mezquita remain among the world’s great monuments, though coexistence was never free of hierarchy and conflict.
From 1492 Spain built an empire across the Americas and the Pacific, linking continents through the Manila galleons and the silver of Potosí. It rested on conquest, forced labour, epidemics and the Atlantic slave trade; independence in the 19th century left some twenty nations that share language, faith and history with Spain.
Roman aqueducts, Mozarabic and Mudéjar craft, Gothic cathedrals, El Greco, Velázquez and Goya, and later Picasso, Dalí, Miró and Gaudí made Spain one of the great centres of European art. Spain has one of the largest numbers of UNESCO World Heritage Sites of any country.
Spain was central to Catholic Europe: the Camino de Santiago, the mystics Teresa of Ávila and John of the Cross, the Jesuits of Ignatius of Loyola and the Council of Trent. The same era brought the Inquisition and the expulsions of Jews (1492) and Moriscos (1609), losses Spain has since sought to acknowledge.
The Visigothic Liber Iudiciorum, Alfonso X’s Siete Partidas and the medieval Cortes shaped law and representation. In the 16th century Francisco de Vitoria and the School of Salamanca debated the rights of the peoples of the Americas and laid early foundations of international law.
The Constitution of Cádiz (1812) inspired liberals across Europe and Latin America. The Civil War of 1936–1939 and Franco’s dictatorship left deep wounds; the negotiated Transition and the 1978 Constitution became a widely studied model of peaceful democratisation.
Castile, Catalonia, the Basque Country, Galicia, Andalusia and the other regions keep distinct languages, laws and traditions. The system of autonomous communities created after 1978, and debates such as Catalan independence, continue to shape how Spain understands itself.
Some chapters of Spain’s past are too big for a single timeline entry. Each of these has a site of its own, with maps, people, sources and the full story, told from start to finish.
The timeline draws on general histories, period studies and the collections of Spain’s national archives, libraries and museums. Linked articles are starting points for verification, not proof that every claim has been independently checked, and early dates — especially for prehistory and the first centuries of al-Andalus — are approximate.
Every event and every ruler has its own sources. See Sources & Further Reading in each timeline entry and ruler profile.
History is connected. Explore the bigger picture.
AllHistories is an independent visual history project designed to make the past easier to understand, explore, and connect.
History is more than a collection of dates, rulers, and battles. Events rarely happen in isolation. Borders shift, civilizations influence one another, ideas spread, and decisions made centuries ago continue to shape the world today.
Through interactive timelines, historical maps, and visual storytelling, AllHistories helps uncover these connections and makes complex historical subjects more accessible and engaging.
Travel through centuries, discover turning points, and understand how historical events unfold and connect.
Explore how borders, civilizations, populations, trade routes, beliefs, and spheres of influence have changed over time.
Go beyond dates and discover the individuals, places, decisions, and circumstances behind historical developments.
Explore connections between countries, empires, civilizations, and historical themes to better understand cause and consequence.
Features vary depending on the historical subject.
AllHistories draws on historical research, published references, public archives, and available historical datasets. The information is organized and presented through interactive digital experiences.
History is not always certain or universally agreed upon. Dates, territorial boundaries, population figures, and interpretations may differ between sources. Some information is necessarily simplified or estimated for visual presentation.
The goal is to encourage curiosity and independent exploration, not to replace academic publications or specialist historical research.
When you visit AllHistories, the web server may process technical information such as your IP address, requested pages, browser details and access times to deliver pages and maintain the service.
Some pages load Google Analytics, Google Fonts, externally hosted images, maps or other third-party resources. Requests to these providers can transmit technical information, including your IP address. Contact forms may use Google reCAPTCHA to help prevent abuse. These providers apply their own privacy policies.
The website uses browser storage for preferences such as the selected theme. Country microsites also use a session cookie to support website functionality, including request protection. Analytics or other third-party services may use additional cookies or storage, depending on the page and your browser settings.
When you submit a correction or contact form, the information you provide, such as your name, email address and message, is processed to review and respond to your request. Please avoid including sensitive personal information.
You can manage cookies and site storage in your browser and control third-party requests through browser privacy settings. For privacy questions or requests concerning information you submitted, use the contact option on the microsite where you sent it.
Links to sources and other websites take you to services with their own privacy practices. Review their policies before providing personal information.
AllHistories provides historical information for general education and exploration. Its content is not professional, legal, financial or other specialist advice.
We aim to present useful, well-sourced summaries, but cannot guarantee that every date, statement, translation or interpretation is complete or accurate. Verify important claims against the cited sources and relevant scholarship. Content may be corrected or updated.
Maps are simplified historical illustrations. Borders, place names and territorial labels may vary by period and source. Their appearance does not express a position on sovereignty or present-day territorial disputes.
Images and source material may belong to their respective creators or rights holders. Consult the image credit, source page and license before reusing material. A link or credit does not grant additional reuse rights.
External links are provided for reference. AllHistories does not control the content, availability or policies of third-party websites.
To report an error or a concern about credited material, use the contact option on the relevant country microsite and identify the page, material and supporting details.