 The Spanish-Portuguese War (1776-77) proved successful.In the First Treaty of San Ildefonso, signed on 1 October 1777, after Mary I of Portugal had dismissed Pombal, Spain won the Banda Oriental (Uruguay), with Colonia del Sacramento, founded by Portugal in 1680.Spain also won the Misiones Orientales.