When Japan was defeated by the USA and the USSR (who had very recently recently decided to declare war on Japan after the fall of the Nazis and at the request of President Truman), Korea, a territory of Japan since 1910, was split in half much like Nazi Germany was divided between the victorious Allies. The Northern half of Korea belonged to the USSR, and the Southern Half to the USA-- this is also the root of North Korean Communism, the reason why the Korean War erupted (when Comunist North Korea tried to take over South Korea), and why there are two Koreas today.
After 1945, during World War II, The Allies released superior naval power toward Japan, and forced it to give up its territories, including Korea. Korea then became a joint occupation by Russia and the US - the north belonging to Russia and the South to the US, divided by the 38th parallel. Eventually, the U.N. assembled elections in both the north and south, and South Korea became democratic and North Korea became communist.
North Korea is not a country from the perspective of South Korea. It was officially recognized as a country when it entered the United Nations in 1992 along with the South. Japan still do not officially admit as a nation because it regards South Korea as the legitimate representative of Korean Peninsula.
Japan has always been independent.
the Russo-Japanese War
The United States, in 1945.
The war was to gain control over Korea and Manchuria
Korea gained independence from Japan, in 1945
japan gained independance in 630BC
North Korea is not a country from the perspective of South Korea. It was officially recognized as a country when it entered the United Nations in 1992 along with the South. Japan still do not officially admit as a nation because it regards South Korea as the legitimate representative of Korean Peninsula.
It was 1948 when Burma gained independence from Britain. Japan helped Burma gain this independence by fighting alongside against Britain.
Japan has always been independent.
the Russo-Japanese War
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.
The United States, in 1945.
Communist Government
The war was to gain control over Korea and Manchuria
Mexico achieved its political independence from Spain.
It never gained independence as it was not a democratic. It never gained independence from anyone because it was never under the control of any other country. Actually it did gain independence again in 1952 from US occupation after World War II. The state does not need to be democratic to be independent, and Japan operates under a parliamentary government with a constitutional monarchy. Ending an occupation does not imply gaining independence. It simply means an occupying power leaving the country and restoring/handing back administration of the affairs of a country to its nationals. Otherwise, Uganda would have another independence after Tanzanian troops pulled out after liberating it in 1979 (in addition to the one in 1962).