In 1811, independence movements broke out in El Salvador in reaction to events in the Peninsular War, and again in 1814 after the restoration of Ferdinand VII. Both revolts were easily suppressed and the political unrest was subsumed into the general political process in the Spanish world that led to the Spanish Constitution of 1812. Between 1810 and 1814, the Captaincy General elected seven representatives to the Cortes of Cádiz, in addition to forming a locally elected Provincial Deputation. In 1821 a congress of Central American "Criollos" in Guatemala City composed the Act of Independence of Central America to declare the region's independence from Spain, effective on 15 September of that year. That date is still marked as independence day by most Central American nations. The Spanish Captain General, Gabino Gaínza, sympathized with the rebels and it was decided that he should stay on as interim leader until a new government could be formed. Independence was short-lived, for the conservative leaders in Guatemala welcomed annexation by the First Mexican Empire of Agustín de Iturbide on 5 January 1822. Central American liberals objected to this, but an army from Mexico under General Vicente Filisola occupied Guatemala City and quelled dissent.