The War for Mexican Independence didn't only begin with the difficulty of secession. In 1540, Mexico was declared to be New Spain. With an assorted culture and great natural resources, it should have done well like its northern neighbor, the United States. But Mexico's history included political corruption, war, revolution and dreadful poverty. The Treaty of Cordoba was a predecessor to the Treaty of Hidalgo. In 1821 the treaty provided for an independent Mexican Empire but was rejected by the Cortes. Mexico revolts badly under Agustin de Iturbide.
The Treaty of Guadalupe Hidalgo was signed on February 2, 1848, in The Villa of Guadalupe Hidalgo. The Treaty was a resolution after so much bloodshed and in the end the U.S. courts interpreted the document to favor the United States of America. There were many tensions between the United States and Mexico that led to war, mainly on the issues of land and expansion. Mexico knew that they had to protect their territory from American settlers who where illegally taking up the land and violating Mexican laws but after the annexation of Texas and with Mexico's presidential instability, United States President James K. Polk wanted territorial expansion to the west and he encouraged expansion. Both Mexico and the United States had different reasons to go to war but they both agreed on the treaty to stop the war. .
The government that was established after the Mexican War of Independence was a federal republic operating under a centralized government. Their government began just the same way as the United States began. Their government also consists of a legislative branch, judicial branch, and an executive branch.
The primary leaders of the War for Mexican Independence were Stephen Austin (1793-1836). Son of Moses Austin (1761-1821) who gained Spanish permission to settle in Texas. Stephen continued his father's work, establishing settlements between the Colorado and Brazos Rivers.