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
Historiography of Colonial Spanish America disdain. An important example is Mexico's conservative politician and intellectual Lucas Alamán. His five-volume "Historia de Mejico" is the country's first history, covering the colonial era up to and including the struggle for independence. Alamán viewed crown rule during the colonial era as ideal, and political independence that after the brief monarchy of Agustín de Iturbide, the Mexican republic was characterized by liberal demagoguery and factionalism. Writing in the mid-nineteenth century, Mexican liberal Vicente Riva Palacio, grandson of insurgent hero Vicente Guerrero, wrote a five-volume history of the colonial era from a liberal viewpoint, During the era of Porfirio Díaz