In 1943, the pact began to fall. Many countries had ended the war or joined the Allies. Although the pact remained in effect until Japan's surrender in August 1945, Germany's surrender three months earlier had made the pact meaningless.