Borders of Time

Mexico

Who ruled Mexico City?

Mexico City dates from about 1325 CE. On our historical maps, the ground it stands on has been drawn inside 9 different states, empires and peoples. It has also been known as Tenochtitlan. Read the history of Mexico.

Gobierno CDMX · CC0 · Wikimedia Commons
Sobrevuelos CDMX HJ2A4913

Sobrevuelos CDMX HJ2A4913

Gobierno CDMX · CC0 · Wikimedia Commons

The history of Mexico City

Hear the whole article read aloud
Angel-de-la-Independencia--Mexico-D.F
Intersofia · Public domain · Wikimedia Commons
Angel-de-la-Independencia--Mexico-D.F

Angel-de-la-Independencia--Mexico-D.F

Intersofia · Public domain · Wikimedia Commons

Mexico City sits in the Valley of Mexico, a high basin more than 2,200 metres above sea level ringed by volcanoes, which until the colonial era held a chain of shallow lakes. Its history is defined by two capitals built on the same spot: Tenochtitlan, the island city of the Mexica, and the Spanish city raised on its ruins after 1521, which has been the seat of power in Mexico ever since. The struggle to live on a drained lake bed, with floods, sinking ground and earthquakes, runs through the whole story.

The valley was densely settled long before the Mexica arrived. About 40 kilometres to the north-east, Teotihuacan grew into one of the largest cities in the world in the first centuries CE, and after its decline the Toltec centre at Tula dominated the region. The Mexica were latecomers, a migrating people who, according to their own traditions, founded Tenochtitlan on a marshy island in Lake Texcoco around 1325. A sister city, Tlatelolco, grew on a neighbouring island and was absorbed in 1473.

In 1428 Tenochtitlan joined Texcoco and Tlacopan in the Triple Alliance, the league usually called the Aztec Empire. Tribute flowed into the island city from much of central and southern Mexico. Causeways linked it to the shore, an aqueduct brought fresh water from Chapultepec, and a dyke separated the fresh water around the city from the salty eastern lake. By the early 1500s Tenochtitlan probably held 200,000 people or more, and its sacred precinct was crowned by the Templo Mayor, the twin temple to Huitzilopochtli and Tlaloc.

Capital of New Spain

Ext 06Museo Soumaya FREE Fernando Romero EnterprisE photo by Adam Wiseman
Adam Wiseman · CC BY-SA 3.0 · Wikimedia Commons
Ext 06Museo Soumaya FREE Fernando Romero EnterprisE photo by Adam Wiseman

Ext 06Museo Soumaya FREE Fernando Romero EnterprisE photo by Adam Wiseman

Adam Wiseman · CC BY-SA 3.0 · Wikimedia Commons

Hernán Cortés entered the city in November 1519 as a guest of Moctezuma II, was driven out in mid-1520, and returned with tens of thousands of Indigenous allies to besiege it. Weakened by smallpox and starvation, the city fell on 13 August 1521 (see the fall of Tenochtitlan). Cortés chose to build the new Spanish capital on the rubble, laying out a grid around a great central square where the Metropolitan Cathedral and the viceregal palace later stood.

From 1535 Mexico City was the capital of the Viceroyalty of New Spain, the richest of Spain's American possessions, with a university founded in 1551 and a printing press from the 1530s. Water remained the city's enemy. A flood in 1629 left much of the centre under water for about five years, and colonial engineers spent generations cutting drainage channels to empty the lakes, a project only completed in the twentieth century.

Independence came in 1821, when the Army of the Three Guarantees marched into the capital. The young republic's capital was occupied by United States troops in 1847 and by French forces in 1863, who installed Maximilian of Habsburg as emperor until his defeat in 1867 restored Benito Juárez. During the Revolution of 1910 to 1920 rival armies, including those of Pancho Villa and Emiliano Zapata, passed through and fought in the streets.

The modern metropolis

Monumento a la Revolución 2
Haakon S. Krohn · CC BY-SA 3.0 · Wikimedia Commons
Monumento a la Revolución 2

Monumento a la Revolución 2

Haakon S. Krohn · CC BY-SA 3.0 · Wikimedia Commons

The twentieth century turned a city of a few hundred thousand into one of the largest urban areas on earth, as migrants poured in from the countryside. It hosted the 1968 Olympics, days after soldiers killed protesters at Tlatelolco, and was devastated by the earthquake of 19 September 1985, which killed thousands and discredited the government's response. In 2016 the old Federal District was renamed Mexico City and became a self-governing federal entity, comparable to a state. Today the city proper holds about 9 million people and the wider metropolitan area more than 20 million, and it remains the political, financial and cultural capital of Mexico.

In pictures

2 images · scroll →
CDMX - Paseo de la Reforma
México en Fotos, A.C. · CC BY-SA 2.0 · Wikimedia Commons
CDMX - Paseo de la Reforma

CDMX - Paseo de la Reforma

México en Fotos, A.C. · CC BY-SA 2.0 · Wikimedia Commons
MX MM PANORÁMICAS DESFILE ZÓCALO
Secretaría de Cultura Ciudad de México · CC BY-SA 2.0 · Wikimedia Commons
MX MM PANORÁMICAS DESFILE ZÓCALO

MX MM PANORÁMICAS DESFILE ZÓCALO

Secretaría de Cultura Ciudad de México · CC BY-SA 2.0 · Wikimedia Commons

Timeline

12 periods
  1. 2000 BCE – 1500 BCEMesoamerican hunter-gatherers and maïze farmersMap of 2000 BCE →
  2. 1500 BCE – 323 BCEMaize farmersMap of 1500 BCE →
  3. 323 BCE – 800 CETeotihuacanMap of 323 BCE →
  4. 800 CE – 1200 CEToltec EmpireMap of 800 CE →
  5. 1200 CE – 1279 CECentral Mexican city-statesMap of 1200 CE →
  6. 1279 CE – 1492 CENo state drawn here on the mapMap of 1279 CE →
  7. 1492 CE – 1500 CEMexihcah (Triple Alliance)Map of 1492 CE →
  8. 1500 CE – 1530 CEAztec EmpireMap of 1500 CE →
  9. 1530 CE – 1650 CEViceroyalty of New SpainMap of 1530 CE →
  10. 1650 CE – 1715 CEViceroyalty of New Spainunder Spanish HabsburgMap of 1650 CE →
  11. 1715 CE – 1878 CEViceroyalty of New Spainunder SpainMap of 1715 CE →
  12. 1878 CE – todayMexicoMap of 1878 CE →

Quick answers

Who rules Mexico City today?
On the latest map, Mexico City is in Mexico.
Who ruled Mexico City the longest?
On our maps, Teotihuacan, for about 1,123 years (323 BCE to 800 CE).
How many times has Mexico City changed hands?
Our maps show it passing to a new ruler 6 times since 1 CE.
Who ruled Mexico City in 1 CE, 1000, 1500 and 1900?
In 1 CE: Teotihuacan. In 1000: Toltec Empire. In 1500: Aztec Empire. In 1900: Mexico.

Dates are the years of our map snapshots, which are decades or centuries apart, so a change shown between two years happened at some point in that gap. The borders come from the historical-basemaps project and are approximate, especially for the ancient world and for peoples without fixed frontiers.

Mexico City on this site

Born in Mexico City
Moctezuma II (1466–1520) and Frida Kahlo (1907–1954)
Died in Mexico City
Moctezuma II (1466–1520), Sor Juana Inés de la Cruz (1651–1695), Antonio López de Santa Anna (1794–1876), Benito Juárez (1806–1872) and Frida Kahlo (1907–1954)
Events in Mexico City
Fall of Tenochtitlan (1521)
Mexico City in the guided tours
The Age of Discovery, Empires of the Americas, The Fall of the Aztec and Inca Empires, The Americas on the Move: From Beringia to Today and The Spanish Empire

Visit today

See Mexico City for yourself

Walking tours, museum and monument tickets, and guided visits to the places where Mexico City's history happened.

Tours and tickets in Mexico City

On GetYourGuide. We may earn a commission if you book. See our disclosure.