Army of the Three Guarantees
Throughout the spring and summer of 1821, the Army of the Three Guarantees liberated the provinces of Mexico, suffering few defeats. In May, Apodaca (no longer viceroy after the revolution but "Jefe Political Superior" [Superior Political Boss]) was replaced with Juan O'Donojú who arrived in Mexico in early August. He met with Iturbide on August 24, 1821 and signed the Treaty of Córdoba establishing the independence of Mexico.