This last one was the direct antecedent of the Mexican War of Independence, which, when concluding in 1821, disintegrated the viceroyalty and gave way to the Mexican Empire, in which finally Agustín de Iturbide would be crowned.
Esta última foi o antecedente directo da guerra de independencia mexicana, a que, ao concluír en 1821, desintegrou o vicerreinado e deu paso ao Imperio Mexicano, no que finalmente se coroaría Agustín de Iturbide.