South Sudan, who just achieved independence from Sudan on July 9, 2011.
Namibia gained independence from South Africa in 1990
South Africa.
Liberia
It was part of French West Africa: France.
Algeria, 3 July 1962
South Africa in 1910
Samoa was the first pacific country to gain their independence
The first country ever to gain independence was San Marino who achieved independence from the Roman Empire.
As of my last knowledge update in October 2023, the latest country to gain independence is South Sudan, which became independent from Sudan on July 9, 2011. This followed decades of conflict and a referendum in January 2011 where the majority of South Sudanese voted for independence.
From South Africa.
Ghana. It was the first subsaharan country to gain independence in 1957. No civil war or violence for 55 years