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:
Solemn Act of the Declaration of Independence of Northern America
The Solemn Act of Northern America's Declaration of Independence () is the first Mexican legal historical document which established the separation of Mexico from Spanish rule. It was signed on November 6, 1813, by the deputies of the Congress of Anáhuac, organized by General José María Morelos in the city of Oaxaca in June of that same year, and later installed in the city of Chilpancingo on September 13.