"gaining independence" usually prescribes a "from" in the end of it, followed by the name of country/hegemon.
Historically (in Europe), I suppose first countries/nations got their independence with the collapse of Roman Empire, - more so the ones on the outskirts of Empire. So one may guess England and France, Balkan nations, as well as Middle East countries to be those among first ones to gain independence :)
South Africa was the first African country to gain independence from Britain. The Union of South Africa was created on 31 May 1910.
American Revolution
They gained increased economic independence by working in factories.
It was France.
In 1973, Guinea-Bissau gained independence from Portugal.
they gained independence from the french in 1960.
white people
France
Texas gained Independence.
The country that Tanzania gained independence from in 1961 was Great Britain.
From Britain.
Portugal.
It gained independence from Great Britain.
France
France
France
Ireland
It was the year Texas gained it"s independence from Mexico
Kenya gained independence from Great Britain.