structural:summarization
1800s

As the Spanish American wars of independence were heating up all across Latin America, Panama City was preparing for independence; however, their plans were accelerated by the unilateral Grito de La Villa de Los Santos (Cry From the Town of Saints), issued on November 10, 1821, by the residents of Azuero without backing from Panama City to declare their separation from the Spanish Empire. In both Veraguas and the capital this act was met with disdain, although on differing levels. To Veraguas, it was the ultimate act of treason, while to the capital, it was seen as inefficient and irregular, and furthermore forced them to accelerate their plans.

Nevertheless, the Grito was a sign, on the part of the residents of Azuero, of their antagonism toward the independence movement in the capital. Those in the capital region in turn regarded the Azueran movement with contempt, since the separatists in Panama City believed that their counterparts in Azuero were fighting not only for independence from Spain, but also for their right to self-rule apart from Panama City once the Spaniards were gone.

It was seen as a risky move on the part of Azuero, which lived in fear of Colonel José Pedro Antonio de Fábrega y de las Cuevas (1774–1841). The colonel was a staunch loyalist and had all of the isthmus' military supplies in his hands. They feared quick retaliation and swift retribution against the separatists.

What they had counted on, however, was the influence of the separatists in the capital. Ever since October 1821, when the former Governor General, Juan de la Cruz Murgeón, left the isthmus on a campaign in Quito and left a colonel in charge, the separatists had been slowly converting Fábrega to the separatist side. So, by November 10, Fábrega was now a supporter of the independence movement. Soon after the separatist declaration of Los Santos, Fábrega convened every organization in the capital with separatist interests and formally declared the city's support for independence. No military repercussions occurred because of skillful bribing of royalist troops.