Agustín de Iturbide
Agustín de Iturbide was the royalist officer who switched sides, allied with Vicente Guerrero, and consummated Mexico’s independence in 1821 with the Plan of Iguala and the Army of the Three Guarantees. In 1822 he was crowned emperor of the short-lived First Mexican Empire as Agustín I, but he abdicated in 1823 and was executed in 1824.
Don’t confuse him with Maximilian of Habsburg, the Austrian archduke who ruled as Mexico’s second emperor during the French Intervention (1864-1867).