In June 1806, Fort Barragán was commanded by Santiago de Liniers and repulsed the first landing of the British under General Beresford; the invading army was forced to come ashore at Quilmes, some 20 kilometers upstream.