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:
Guerrero
Peoples of the territory of Guerrero immediately supported the cause of Miguel Hidalgo y Costilla which would culminate with the Independence of Mexico. During the first part of the Mexican War of Independence, José María Morelos fought on the side of Miguel Hidalgo in the southern part of Mexico, including the Acapulco area and the Costa Grande. However, the insurgents were never able to take the port. They were able to take control of territories in the center of the state. Morelos took Chilpancingo and set up the Congress of Anáhuac, which would publish the document "Sentimentos de la Nación" on 6 November 1813. The Congress of Anáhuac also approved the Act of Independence written by Carlos María Bustamante. Later, the Mexican flag was designed and first sewn in Iguala, after Agustín de Iturbide and Vicente Guerrero joined forces under the Plan of Iguala to end the war in 1821.