His expedition was cut short when he was killed during an attack by the native Charrúa tribe in what is now Uruguay.
During the British invasions of the Río de la Plata, British forces attacked Buenos Aires twice.
In 1806 the British successfully invaded Buenos Aires, but an army from Montevideo led by Santiago de Liniers defeated them.
This scheme frustrated the traders of Buenos Aires, and a thriving contraband industry developed.
This also instilled a deep resentment among porteños towards the Spanish authorities.
Sensing these feelings, Charles III of Spain progressively eased the trade restrictions and finally declared Buenos Aires an open port in the late 18th century.