Japan gained control over Korea in 1910, and it remained part of its empire until the end of WWII in 1945. This happened during the rule of the Meiji government in Japan. Their rule over Korea ended when the US and Soviet forces took it away from them.