Spain recognizes the independence of Mexico with the signing of the Santa María–Calatrava Treaty.
Spanish attempts to reconquer Mexico
Spanish attempts to reconquer Mexico were efforts by the Spanish government to regain possession of its former colony of New Spain, resulting in episodes of war comprised in clashes between the newly born Mexican nation and Spain. The designation mainly covers two periods: the first attempts occurred from 1821 to 1825 and involved the defense of Mexico's territorial waters, while the second period had two stages, including the Mexican expansion plan to take the Spanish-held island of Cuba between 1826 and 1828 and the 1829 expedition of Spanish General Isidro Barradas, which landed on Mexican soil with the object of reconquering Mexican territory. Although the Spanish never regained control of the country, they damaged the fledgling Mexican economy.