Agustín de Iturbide, a Mexican military officer and politician, spearheaded the 1821 Mexican War of Independence against Spain. He became the first emperor of the independent Mexican Empire (1822–1823).