France attempted the French blockade of the Río de la Plata during the War of the Confederation, attempting to remove Juan Manuel de Rosas from power. The blockade lasted for some more years after the defeat of the Peru–Bolivian Confederation by Argentina and Chile. France would attempt another blockade, this time allied with Britain, but Rosas defeated it as well.