The obligation to refrain from separate peace was also made during the Second World War in both camps. The Tripartite Pact between the German, Italian and Japanese governments committed the three to prosecute the war together. On the Allied camp, that obligation was contained in the United Nations Declaration of January 1, 1942.