Guayaquil Conference

The Guayaquil Conference () was a meeting that took place on July 26, 1822, in Guayaquil, Ecuador, between José de San Martín and Simón de Bolívar, to discuss the future of Perú (and South America in general).
Causes.
Lima, capital of the Viceroyalty of Peru, was the most important city of the Spanish colonies in South America. It was a royalist stronghold during the Spanish American wars of independence, fighting against the several independentist outbreaks. For this reason, after the conclusion of the Chilean War of Independence the general José de San Martín organized a navy that allowed his forces to siege and capture the city, declaring the independence of Peru shortly afterwards. However, there was still a strong royalist force in the Peruvian countryside.
Simón Bolívar led another independentist campaign. He liberated Venezuela after many attempts and with the help of Francisco de Paula Santander liberated the United Provinces of New Granada, creating the Gran Colombia. The battles of Lake Maracaibo secured the independence of Venezuela.
A revolt in Guayaquil proclaimed the independence of the city, followed by other Ecuatorian cities. Neither San Martín nor Bolívar took part in the initial development of the Ecuadorian War of Independence. The Ecuadorians discussed the future of the region: some factions wanted to join Colombia, others to join Peru, and others to become a new nation. Bolívar ended the discussion by annexing Guayaquil into Colombia. There was Peruvian pressure on San Martín to do a similar thing, to annex Guayaquil to Peru.
Topics.
San Martín arrived in Guayaquil on July 25, where he was enthusiastically greeted by Bolívar. However, the two men could not come to an agreement, despite their common goals and mutual respect, even when San Martín offered to serve under Bolívar. Both men had very different ideas about how to organize the governments of the countries that they had liberated. Bolívar was in favor of forming a series of republics in the newly independent nations, whereas San Martín preferred the European system of rule and wanted to put monarchies in place. San Martín was also in favor of placing a European prince in power as King of Peru when it was to be liberated.
Consequences.
San Martín, after meeting with Bolívar for several hours on July 26, stayed for a banquet and ball given in his honor. Bolívar proposed a toast to “the two greatest men in South America: the general San Martín and myself” ("Por los dos hombres más grandes de la América del Sur: el general San Martín y yo"), whereas San Martín drank to “the prompt conclusion of the war, the organization of the different Republics of the continent and the health of the Liberator of Colombia ("Por la pronta conclusión de la guerra; por la organización de las diferentes Repúblicas del continente y por la salud del Libertador de Colombia").
After the conference, San Martín abdicated his powers in Peru and returned to Argentina. Soon afterward, he left South America entirely and retired in France.
Legacy.
The Guayaquil conference inspired a short story by Jorge Luis Borges, "Guayaquil," published in his book "" (1971), in which he explores the possible psychological relation between San Martín and Bolívar.