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:
Alta California
Mexico gained independence from Spain in 1821 upon conclusion of the decade-long Mexican War of Independence (not acknowledged by Spain until 1836). As the successor state to the Viceroyalty of New Spain, Mexico automatically included the provinces of Alta California and Baja California as territories. Alta California declared allegiance to the new Mexican nation and elected a representative to be sent to Mexico. On November 9, 1822, the first legislature of California was created. With the establishment of a republican government in 1824, Alta California, like many northern territories, was not recognized as one of the constituent States of Mexico because of its small population. The 1824 Constitution of Mexico refers to Alta California as a "territory".