Joseph Stalin declared war on Japan on August 8, 1945, just before Japan's surrender.
The Soviet declaration took effect at midnight on August 9, Japan time. Soviet forces then launched an invasion of Japanese-held Manchuria, opening the Soviet–Japanese War. The timing fulfilled a promise made by the Soviet Union at the Yalta Conference to enter the war against Japan after Germany's defeat.
Japan's leaders were already confronting the atomic bombing of Hiroshima on August 6. On August 9, the Soviet entry and the atomic bombing of Nagasaki added two major shocks to the crisis over surrender.
The Soviet declaration also ended the 1941 Soviet–Japanese Neutrality Pact. Emperor Hirohito later referred to the Soviet entry when addressing Japan's military, while his public surrender broadcast emphasized the destructive power of the atomic bomb.