Mexico, officially the United Mexican States, is a country in the southern portion of North America. Covering 1,972,550 km2 (761,610 sq mi), it is the world's 13th largest country by area; with a population of almost 130 million, it is the 10th most populous country and has the most Spanish speakers in the world. Mexico is organized as a federal constitutional republic comprising 31 states and Mexico City, its capital and largest city, which is among the world's most populous metropolitan areas. The country shares land borders with the United States to the north, with Guatemala and Belize to the southeast; as well as maritime borders with the Pacific Ocean to the west, the Caribbean Sea to the southeast, and the Gulf of Mexico to the east.
Human presence in Pre-Columbian Mexico dates back to 8,000 BC, making it one of the world's six cradles of civilization. The Mesoamerican region hosted various intertwined civilizations, including the Olmec, Maya, Zapotec, Teotihuacan, and Purepecha. The Aztecs came to dominate the area prior to European contact. In 1521, the Spanish Empire, alongside indigenous allies, conquered the Aztec Empire, establishing the colony of New Spain centered in the former capital, Tenochtitlan (now Mexico City). Over the next three centuries, Spain expanded its territorial control, enforced Christianity, and spread the Spanish language, with the colony's rich silver deposits fueling its empire. The colonial era ended in the early 19th century with the Mexican War of Independence.