The area around Uruguay was fought over by the Portuguese and Spanish Empires in the 18th century. In the 1810s it was the center of a Federal League of states in the Río de la Plata region. Argentina and Brazil took the majority in wars, leaving Uruguay as independent.