Before revision: Another objective was to deal with sovereignty over the Free Province of Guayaquil, whose capital, Guayaquil, being part of the Viceroyalty of Peru, was liberated from Spanish rule in 1820 thanks to the uprising of the city's garrison, formed by the so-called “Cuzco Reserve Grenadiers” regiment, made up of Peruvian royalist originally from Cuzco and having declared themselves independent, that showed strong ties with Peru.
After revision: Another objective was to deal with sovereignty over the Free Province of Guayaquil, whose capital, Guayaquil, being part of the Viceroyalty of Peru, was liberated from Spanish rule in 1820 thanks to the uprising of the city's garrison, formed by the so-called “Cuzco Reserve Grenadiers” regiment, made up of Peruvian royalists originally from Cuzco and having declared themselves independent, that showed strong ties with Peru.