Afterwards, these troops take part in the Southern Campaign under the command of Marshal Antonio José de Sucre, and went on to liberate Ecuador in the Battle of Pichincha, Peru in the Battle of Junín, and Alto Peru (today Bolivia) in the Battle of Ayacucho.