The Spanish-Portuguese War between 1735-1737 was fought over the Banda Oriental, roughly present-day Uruguay.
At that time, this part of South-America was sparsely populated and was on the border between Portuguese Colonial Brazil and the Spanish... Wikipedia