South America became a collection of independent states between the early 1800s and the mid-1800s. The process of independence was a result of various movements and revolutions that took place across the continent, challenging Spanish and Portuguese colonial rule. Some key events in this period include the Venezuelan War of Independence (1810-1823), the Argentine War of Independence (1810-1818), the Chilean War of Independence (1810-1818), the Peruvian War of Independence (1811-1824), and the Brazilian Independence (1822). The process was marked by significant regional variations and political complexities, but by the mid-1800s, most of South America had gained independence from colonial rule, establishing their own sovereign states.
I hope this helped!
~~~Harsha~~~