Although Mexico had been in revolt in 1811 under Miguel Hidalgo y Costilla, resistance to Spanish rule had largely been confined to small guerrilla bands in the countryside. The coup in Spain did not change the centralized policies of the government of Trieno Liberal in Madrid and many Mexicans were disappointed. In 1821, Mexico led by Agustin de Iturbide and Vincente Guerrero presented the Plan de Iguala, calling for an independent Mexican monarchy, in response to the centralism and fears of the liberalism and anticlericalism in Spain. The liberal government of Spain showed less interest in the military reconquest of the colonies than Ferdinand, although it rejected the independence of Mexico in the failed Treaty of Córdoba. The last bastion of San Juan de Ulúa resisted to 1825, and Isidro Barradas tried to recapture Mexico from Cuba in 1829. With the king's death in 1833 Spain finally abandoned all plans of military re-conquest.