Finally, in 1821, Spain’s representative, Señor Gavino Gainza, joined the rebels. On the 14th of September of that year the government house in Guatemala City was thronged by representatives of the people who came to attend a meeting that had been called by Gainza. Immediate independence was advised by the majority of those representatives and every attempt at a vacillating policy was defeated. Every vote for independence was received by the citizens who had gathered on the plaza with loud applause and those against it with groans. The anti-independents fearing for their lives retired from the palace, but they were not molested. An _Acta de Independencia_ was then drawn up, adopted, signed and sworn to by all those who were present, and publicly proclaimed on the following day. This act declared Guatemalans to be a free and independent people and invited citizens of the provinces to elect at once representatives to a national congress to be convened on the 1st day of March, 1822, on the basis of one representative for each fifteen thousand inhabitants. This was just two hundred and ninety-seven years, three months and nineteen days from the time Alvarado and his followers took possession of the country.
A provisional _junta_ was formed to advise with Gainza, who had apparently thrown his die with independence, but secretly—so it is claimed—intended to deal doubly. Chiapas had proclaimed independence a few days earlier and was the first province of the Guatemala captain-generalcy, or Kingdom of Guatemala, as it was called, to throw off the Spanish yoke. San Salvador followed on the 21st of September, Honduras on the 16th of October, Nicaragua on the 21st of October and Costa Rica on the 27th of October. All of these provinces formally accepted the Plan of Iguala proclaimed by Iturbide of Mexico, which provided as follows: preservation of the Roman Catholic Church; independence under a monarchical form of government with a prince of the royal house of Spain as ruler; union and equality of Spaniards and Mexicans and Central Americans.
The change to freedom was not easy after three centuries of misrule. The abolishment of slavery forty years before the United States freed her black men was one good omen. Two parties, conservatives and liberals, sprang up. The most of the enlightened ones espoused the cause of the liberals, while the old families, those with race prejudice, and the clergy adhered to the conservative cause, although many of the priests were in the front rank of those battling for independence. Thus the state cast adrift without any fixed policy.