Respuesta :

"Iturbide defeated the Royalist forces still opposed to independence, and the new Spanish viceroy, lacking money, provisions, and troops, was forced to accept Mexican independence. On August 24, 1821, O'Donojú signed the Treaty of Córdoba, thus ending New Spain's dependence on Old Spain."

-Google