The first few wars were fought for supremacy in the northern and southern parts of the continent. The Gran Colombia – Peru War of the north and the Cisplatine War (between the Empire of Brazil and the United Provinces of the River Plate) ended in stalemate, although the latter resulted in the independence of Uruguay (1828). A few years later, after the break-up of Gran Colombia, the balance of power shifted in favor of the newly formed Peru-Bolivian Confederation (1836–1839). Nonetheless, this power structure proved temporary and shifted once more as a result of the Northern Peruvian State's victory over the Southern Peruvian State-Bolivia War of the Confederation (1836–1839), and the Argentine Confederation's defeat in the Guerra Grande (1839–1852).