rench blockade from 1838 to 1840, the War of the Confederation in the north, an Anglo-French blockade from 1845 to 1850, and the Corrientes province revolt. Rosas remained undefeated during this series of conflicts and prevented further loss of national territory. His refusal to enact a national constitution, pursuant to the Federal pact, led to Entre Ríos governor Justo José de Urquiza to turn against Rosas and sanction the Constitution of Argentina of 1853. Rejecting it, Buenos Aires seceded from the Confederation and became the State of Buenos Aires. The war between both lasted nearly a decade, and ended with the victory of Buenos Aires at the battle of Pavón.
Buenos Aires rejoined the Confederation, and Bartolomé Mitre was elected the first president of the unified country in 1862. He began military campaigns against both the remaining federals in Argentina, the whites from Uruguay, and Paraguay. The War of the Triple Alliance, in alliance with Uruguay and Brazil, left over 300,000 dead and devastated Paraguay. Unable to influence the election of later presidents, Domingo Faustino Sarmiento and Nicolás Avellaneda followed him. Albeit unitarians, they were not from Buenos Aires, and had conflicts with him. Mitre attempted twice to secede Buenos Aires from the country once more, but failed. Avellaneda federalized Buenos Aires, after defeating a final failed attempt to secede it.
Since the colonial times, huge territories were under the control of indigenous peoples. All governments since then attempted in some way to stay in good terms, kill them, or push them to ever farther frontiers. The final conflict was the Conquest of the Desert, waged by Julio Argentino Roca. With this military operation, Argentina seized the control of the Patagonia.
Rise of Peronism
The bases of modern Argentina were established by the Generation of '80, a political movement that opposed Mitre and sought to industrialize the country. A wave of