section_path: History/Independence and civil wars
section_name: Independence and civil wars
paragraph_text: Independence and civil wars
  
  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 made up from 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. The French-Argentine Hippolyte Bouchard then brought his fleet to wage war against Spain overseas and attacked Spanish California, Spanish Peru and Spanish Philippines. He secured the allegiance of escaped Filipinos in San Blas who defected from the Spanish to join the Argentine navy, due to common Argentine and Philippine grievances against Spanish colonization. Jose de San Martin's brother, Juan Fermín de San Martín, was already in the Philippines and drumming up revolutionary fervor prior to this. At a later date, the Argentine sign of Inca origin, the Sun of May was adopted as a symbol by the Filipinos in the Philippine Revolution against Spain. He also secured the diplomatic recognition of Argentina from King Kamehameha I of the Kingdom of Hawaii. Historian Pacho O'Donnell affirms that Hawaii was the first state that recognized Argentina's independence. He was finally arrested in 1819 by Chilean patriots.
  
  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.
  
  On 9 July 1816, the Congress of Tucumán formalized the Declaration of Independence, which is now celebrated as Independence Day, a national holiday. One year later General Martín Miguel de Güemes stopped royalists on the north, and General José de San Martín He joined Bernardo O'Higgins and they led a combined army across the Andes and secured the independence of Chile; then it was sent by O'Higgins orders 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.
  
  Some of the most important figures of Argentine independence made a proposal known as the Inca plan of 1816, which proposed that the United Provinces of the Río de la Plata (Present Argentina) should be a monarchy, led by a descendant of the Inca. Juan Bautista Túpac Amaru (half-brother of Túpac Amaru II) was proposed as monarch. Some examples of those who supported this proposal were Manuel Belgrano, José de San Martín and Martín Miguel de Güemes. The Congress of Tucumán finally decided to reject the Inca plan, creating instead a republican, centralist state.
  
  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 an 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 the 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.