History of North America was declared in 1810 by Miguel Hidalgo, starting the "Mexican War of Independence". In 1813, José María Morelos and the Congress of Anáhuac signed the Solemn Act of the Declaration of Independence of Northern America, the first legal document where the separation of the New Spain with respect to Spain is proclaimed. Spain finally recognized Mexico's independence in 1821. From the time of independence of the United States, that country expanded rapidly to the west, acquiring the massive Louisiana territory in 1803. Between 1810 and 1811 a Native confederacy under Tecumseh fought unsuccessfully to keep the Americans from pushing them
Mexican–American War could not be released from its obligations. The US was released from all obligations of Article XI five years later by Article II of the Gadsden Purchase of 1853. The 1848 Treaty of Guadalupe Hidalgo ended the war and enforced the Mexican Cession of the northern territories of Alta California and Santa Fe de Nuevo México to the United States. Mexico acknowledged the loss of what became the State of Texas and accepted the Rio Grande as its northern border with the U.S. The losses amounted to one-third of its original territory from its 1821 independence. Before the secession of