Mexican War of Independence
The Mexican War of Independence () was an armed conflict, and the culmination of a political and social process which ended the rule of Spain in 1821 in the territory of New Spain. The war had its antecedent in Napoleon's French invasion of Spain in 1808; it extended from the Cry of Dolores by Father Miguel Hidalgo y Costilla on September 16, 1810, to the entrance of the Army of the Three Guarantees led by Agustín de Iturbide to Mexico City on September 27, 1821. September 16 is celebrated as Mexican Independence Day.
Emperor
In Mexico, the First Mexican Empire was the first of two empires created. After the declaration of independence on September 15, 1821, it was the intention of the Mexican parliament to establish a commonwealth whereby the King of Spain, Ferdinand VII, would also be Emperor of Mexico, but in which both countries were to be governed by separate laws and with their own legislative offices. Should the king refuse the position, the law provided for a member of the House of Bourbon to accede to the Mexican throne.