The Soviet Union declared war on Japan on 8 August 1945, and the Red Army entered Pyongyang on 24 August 1945. Stalin had instructed Lavrentiy Beria to recommend a communist leader for the Soviet-occupied territories and Beria met Kim several times before recommending him to Stalin.