Mexico
Mexico, officially the United Mexican States, is a country in the southern portion of North America. Covering 1,972,550 km (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 a 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 civilizations including the Olmec, Maya, Zapotec, Teotihuacan, and Purepecha. The Aztecs came to dominate the area but were conquered by the Spanish Empire, which established 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.

Following independence, Mexico faced political and socioeconomic upheaval. The United States' invasion during the Mexican–American War resulted in significant territorial losses in 1848. Liberal reforms introduced in the Constitution of 1857 prompted domestic conflict, French intervention, and the establishment of an Empire, countered by the Republican resistance led by Benito Juárez. The late 19th century saw the rise of Porfirio Díaz 's dictatorship, sparking the Mexican Revolution in 1910, which led to profound changes, including the 1917 Constitution. Over the 20th century, Mexico experienced significant economic growth, but also faced issues of repression and electoral fraud. The late twentieth century saw a shift towards neoliberal policies, exemplified by the signing of the North American Free Trade Agreement (NAFTA) in 1994, amidst unrest.

Mexico is a newly industrialized and developing country, with the world's 12th-largest economy by nominal GDP and 12th-largest by PPP. Mexico ranks first in the Americas and seventh in the world by the number of UNESCO World Heritage Sites. It is also one of the world's 17 megadiverse countries, ranking fifth in natural biodiversity. It is a major tourist destination: as of 2022, it is the sixth most-visited country in the world, with 42.2 million international arrivals. Mexico's large economy and population, global cultural influence, and steady democratization make it a regional and middle power, and it is increasingly identified as an emerging power. Although Mexico has made significant political and socioeconomic gains in recent decades, it continues to struggle with social inequality, poverty, systemic corruption, and extensive crime. Since 2006, an ongoing conflict between drug trafficking syndicates has led to over 120,000 deaths. Mexico is a member of United Nations, the G20, the Organisation for Economic Co-operation and Development (OECD), the World Trade Organization (WTO), the Asia-Pacific Economic Cooperation forum, the Organization of American States, Community of Latin American and Caribbean States, and the Organization of Ibero-American States.
startend:end_checker, combination:repeat_prompt