Portugal.
Portugal
The first country to gain independence is believed to be Japan in 600 BCE. However, Ethiopia is one of the countries that were never colonized.
Brazil was a colony of Portugal. On September 7, 1822, the country declared its independence from Portugal.
Brazil was a colony of Portugal until September 7, 1822, when it declared its independence.
Liberia was the first to gain independence after being colonized by outsiders, but the independence of Ethiopia dates to antiquity and was never fully ended.
decolonization
Decolonization
Angola was colonized by the Portuguese in the later part of the 16th century and did not gain full independence until 1974.
By war
On September 7, 1822
Samoa was the first pacific country to gain their independence
September 7th 1822
The first country ever to gain independence was San Marino who achieved independence from the Roman Empire.