Mexican War of Independence who then made his elder brother Joseph king. The same year, the ayuntamiento (city council) of Mexico City, supported by viceroy José de Iturrigaray, claimed sovereignty in the absence of the legitimate king. That led to a coup against the viceroy; when it was suppressed, the leaders of the movement were jailed. Despite the defeat in Mexico City, small groups of rebels met in other cities of New Spain to raise movements against colonial rule. In 1810, after being discovered, Querétaro conspirators chose to take up arms on September 16 in the company of peasants and indigenous inhabitants of Dolores
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!"