While San Martín and O'Higgins organized an army to recross the Andes and recapture Santiago, they charged the lawyer Manuel Rodríguez with the task of mounting a guerrilla campaign.
The liberating Army of the Andes was prepared by 1817.