History of Sonora 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 north roughly 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. The colonial era was ended in Sonora by the Mexican War of Independence from 1810 to 1821; however, Sonora was not directly involved in
Mexican War of Independence rule until the Hidalgo revolt of 1810. Elites in Mexico City in the seventeenth century did force the removal of a reformist viceroy, the Marqués de Gelves, following an urban riot in 1624 fomented by those elites. He attempted to eliminate corrupt practices by creole elites as well as rein in the opulent displays of the clergy's power, but ecclesiastical authorities in conjunction with creole elites mobilized urban plebeians to oust the viceroy. The crowd was reported to shout, "Long live the King! Love live Christ! Death to bad government! Death to the heretic Lutheran [Viceroy Gelves]! Arrest the viceroy!"