Several armed expeditions were sent to the Upper Peru (now Bolivia), Paraguay, Uruguay and Chile to fight Spanish forces and secure Argentina's newly gained independence. The most famous of these expeditions was the one led by General José de San Martín, who led a 5000-man army across the Andes Mountains to expel the Spaniards from Chile and later from Perú. While the other expeditions failed in their goal of bringing all the dependencies of the former Viceroyalty of the Río de la Plata under the new government in Buenos Aires, they prevented the Spaniards from crushing the rebellion.