Mexico

Mexico, officially the United Mexican States, is a country in the southern portion of North America. It is bordered to the north by the United States; to the south and west by the Pacific Ocean; to the southeast by Chiapas, Guatemala, Belize, and the Caribbean Sea; and to the east by the Gulf of Mexico.

First Mexican Empire (1821–1842)
When Mexico achieved its independence, the southern portion of New Spain became independent as well, as a result of the Treaty of Córdoba, so Central America, present-day Costa Rica, El Salvador, Guatemala, Honduras, Nicaragua, and part of Chiapas were incorporated into the Mexican Empire. Although Mexico now had its own government, there were no social or economic revolutionary changes. The formal, legal racial distinctions were abolished, but power remained in the hands of white elites. Monarchy was the form of government Mexicans knew and it is not surprising that they chose that form of government initially.

The first Mexican emperor, Agustin I, was ousted in a coup in 1823, with the title of emperor being taken by Antonio Lopez de Santa Anna. Santa Anna was highly conservative, having a good relationship with the aristocracy and the church. While initially, the war of independence and the Spanish flight of wealth and investment left Mexico´s economy in a bad situation. The creation of the Mexican National Bank and the investment in railways gave Mexico a period of economic prosperity. Nevertheless, the wealth generated was only seen by the elites, as the oligarchic system did not permit representation to the Mexican masses.

In 1839, Santa Anna reformed the constitution, making him an absolute monarch by abolishing the congress. The new constitution also made Mexico an extremely centralized state. This autocratic government would be opposed by the liberal leaders of various Mexican States, such as Yucatan, Chiapas and Texas, who would revolt and secede from the Mexican Empire in 1841, 1842 and 1836 respectively. In 1846, the United States annexed the republics of Yucatan and Texas, which Mexico still considered to be part of their territory. This would anger the Mexican who would declare war on the United States and thus begin the Mexican-American war.

The Americans pushed on to Puebla, Mexico's second-largest city, which capitulated without resistance on 1 May—the citizens were hostile to Santa Anna. After the Battle of Chapultepec (13 September 1847), Mexico City was occupied; Scott became its military governor. Many other parts of Mexico were also occupied. Some Mexican units fought with distinction. One of the justly commemorated units was a group of six young Military College cadets (now considered Mexican national heroes), who fought to the death defending their college during the Battle of Chapultepec.

The war ended with the Treaty of Guadalupe Hidalgo, which stipulated that (1) Mexico must sell its northern territories to the US for US$15 million; (2) the US would give full citizenship and voting rights, and protect the property rights of Mexicans living in the ceded territories; and (3) the US would assume $3.25 million in debt owed by Mexico to Americans. The war was Mexico's first encounter with a modern, well-organized, and well-equipped army.