Mexican War of Independence
The Mexican War of Independence () was an armed conflict, and the culmination of a political and social process which ended the rule of Spain in 1821 in the territory of New Spain. The war had its antecedent in Napoleon's French invasion of Spain in 1808; it extended from the Cry of Dolores by Father Miguel Hidalgo y Costilla on September 16, 1810, to the entrance of the Army of the Three Guarantees led by Agustín de Iturbide to Mexico City on September 27, 1821. September 16 is celebrated as Mexican Independence Day.
History of Mexico
After a protracted struggle (1810–21) for independence, New Spain became the sovereign nation of Mexico, with the signing of the Treaty of Córdoba. A brief period of monarchy (1821–23), called the First Mexican Empire, was followed by the founding of the Republic of Mexico, established under a federal constitution in 1824. Legal racial categories were eliminated, abolishing the system of castas. Slavery was not abolished at independence in 1821 or with the constitution in 1824, but was eliminated in 1829. Mexico continues to be constituted as a federated republic, under the Mexican Constitution of 1917.