Sonora were exploiting the indigenous. This rebellion destroyed the reputation of the Jesuit mission system. Another Seri rebellion occurred in 1748, with Pima and Tohono O’otham support and lasted into the 1750s. This kept the settlement situation in disarray. With population of the Mexican split half indigenous and half Spanish, about one-quarter of the indigenous population lived in Sonora alone. In 1767, the king of Spain expelled the Jesuits from Spanish-controlled territories, ending the mission system. In 1821, the colonial era in Sonora was ended by the Mexican War of Independence, which started in 1810. Without being directly involved in the
Afro-Mexicans in the Mexican War of Independence majority of them still is linked to agricultural economic activities. The war of independence was precipitated by events in Europe, specifically a failed coup against the viceroy Joseph Bonaparte. This encouraged small groups of rebels to take up arms against colonial rule. In September 1810, peasants and indigenous inhabitants of Dolores (Guanajuato) were called to action by the secular Catholic priest Miguel Hidalgo y Costilla, former rector of the Colegio de San Nicolás Obispo. People of color were able to see that their independence was worth putting up a fight for it. However, Hidalgo was defeated. José Maria Morelos y