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 of Iguala, Iturbide persuaded Guerrero to join his forces in support of this conservative independence movement. A new army, the Army of the Three Guarantees, was placed under Iturbide's command to enforce the Plan of Iguala. The plan was so broadly based that it pleased both patriots and loyalists. The goal of independence and the protection of Roman Catholicism brought together all factions. Iturbide's army was joined by rebel forces from all over Mexico. When the rebels' victory became certain, the Viceroy resigned. On August 24, 1821, representatives of the Spanish crown and Iturbide signed the Treaty of Córdoba, which