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:
Gun laws in Mexico
Following Mexico's independence as the First Mexican Empire in 1822, the Political Provisional Regulation of the Mexican Empire in Article 54 made a reference to the carrying of prohibited arms (in Spanish: "...el porte de armas prohibidas...") and by 1824, following the establishment of the United Mexican States, it was declared that no person shall carry any type of weapon. The inclination to adopt a complete ban on firearms came as a precaution and attempt to prevent another armed insurrection that would put the new republic in jeopardy. After this measure, four years followed without war under President Guadalupe Victoria.