Bolívar and San Martín held a meeting in Guayaquil on July 26 and 27, 1822, in which they discussed plans to liberate Peru and it was decided that Bolívar and Gran Colombia would take over the task of fully liberating Peru.