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.
First Mexican Empire
After signing the Declaration of Independence of the Mexican Empire of 28 September 1821, the Mexican Congress intended to establish a commonwealth whereby the King of Spain, Ferdinand VII, would also be emperor of Mexico, and both countries would be governed by separate laws and form separate legislative bodies. If the king refused the position, the law provided for another member of the House of Bourbon to accede to the Mexican throne. However, the goal was merely a political tactic to appease the last royalists, and full independence was expected. King Ferdinand, however, refused to recognize Mexico's independence and said that Spain would not allow any other European prince to take the throne of Mexico.