Indigenous peoples of Mexico
When Mexico gained independence in 1821, the casta system was eliminated as a legal structure, but racial divides remained. 
White Mexican argued about what the solution was to the "Indian Problem", that is indigenous who continued to live in communities and were not integrated politically or socially as citizens of the new republic. The Mexican constitution of 1824 has several articles pertaining to indigenous peoples. The second article of the constitution of Mexico recognizes and enforces the right of indigenous peoples and communities to self-determination and therefore their autonomy to:
Mexico
On September 16, 1810, a "loyalist revolt" against the ruling junta was declared by priest Miguel Hidalgo y Costilla, in the small town of Dolores, Guanajuato. This event, known as the Cry of Dolores (Spanish: "Grito de Dolores") is commemorated each year, on September 16, as Mexico's independence day. The first insurgent group was formed by Hidalgo, the Spanish viceregal army captain Ignacio Allende, the militia captain Juan Aldama and "La Corregidora" Josefa Ortiz de Domínguez. Hidalgo and some of his soldiers were captured and executed by firing squad in Chihuahua, on July 31, 1811. Following his death, the leadership was assumed by priest José María Morelos, who occupied key southern cities.