section: Independence and civil wars
question: Who was the first Supreme Director of Argentina?
article: Argentina
candidates: Beginning a process from which Argentina was to emerge as successor state to the Viceroyalty, the 1810 May Revolution replaced the viceroy Baltasar Hidalgo de Cisneros with the First Junta, a new government in Buenos Aires composed by locals. In the first clashes of the Independence War the Junta crushed a royalist counter-revolution in Córdoba, but failed to overcome those of the Banda Oriental, Upper Peru and Paraguay, which later became independent states. Revolutionaries split into two antagonist groups: the Centralists and the Federalists—a move that would define Argentina's first decades of independence. The Assembly of the Year XIII appointed Gervasio Antonio de Posadas as Argentina's first Supreme Director. In 1816 the Congress of Tucumán formalized the Declaration of Independence. One year later General Martín Miguel de Güemes stopped royalists on the North, and General José de San Martín took an army across the Andes and secured the independence of Chile; then he led the fight to the Spanish stronghold of Lima and proclaimed the independence of Peru. In 1819 Buenos Aires enacted a centralist constitution that was soon abrogated by federalists. The 1820 Battle of Cepeda, fought between the Centralists and the Federalists, resulted in the end of the Supreme Director rule. In 1826 Buenos Aires enacted another centralist constitution, with Bernardino Rivadavia being appointed as the first president of the country. However, the interior provinces soon rose against him, forced his resignation and discarded the constitution. Centralists and Federalists resumed the civil war; the latter prevailed and formed the Argentine Confederation in 1831, led by Juan Manuel de Rosas. During his regime he faced a French blockade (1838–1840), the War of the Confederation (1836–1839), and a combined Anglo-French blockade (1845–1850), but remained undefeated and prevented further loss of national territory. His trade restriction policies, however, angered the interior provinces and in 1852 Justo José de Urquiza, another powerful caudillo, beat him out of power. As new president of the Confederation, Urquiza enacted the liberal and federal 1853 Constitution. Buenos Aires seceded but was forced back into the Confederation after being defeated in the 1859 Battle of Cepeda.