Argentina 's state capital is Buenos Aires .
The declaration and fight for independence -LRB- 1810 -- 1818 -RRB- was followed by an extended civil war that lasted until 1861 , culminating in the country 's reorganization as a federation of provinces with Buenos Aires as its capital city .