Six years after May 25th 1810, the United Provinces of the River Plate declared themselves independent from Spain.
After european explorers arrived in the region in the early part of the sixteenth century, Spain quickly established a permanent colony on the site of modern day Buenos Aires in 1580.
During the early part of it's history, Argentina was largely a country of Spanish immigrants and their descendants (known as creoles). The population was split between those who lived in Buenos Aires and other cities, with others living on the pampas as gauchos. Descendants of African slaves were also present in significant numbers. The Indigenous peoples of the region inhabited much of the rest of Argentina.
In 1806 and 1807 the British Empire launched two invasions of Buenos Aires, but where repelled on both occasions by the creole population.
On May 25, 1810, the rumors about the overthrow of King Ferdinand VII by Napoleon proved to be true, the citizens of Buenos Aires took advantage of the situation and created their First Government Junta (May Revolution).
Formal independence from Spain was declared six years later in July 1816.