In the end of August 1939 Foreign Minister of Germany Joachim von Ribbentrop and people’s commissar of Foreign Affairs of the USSR Vyacheslav Molotov signed in Moscow the treaty that stipulated non-agression that also included a secret protocol, which is famous under the name the Molotov-Ribbentrop pact. In the secret protocol spheres of influence in the Central-Eatern Europe were divided between the Third Reich and the USSR. On September 1st, 1939, German troops launced their attack on Poland. In response to the aggression of Germany, the Great Britain and France declared war on Germany on September 4th, 1939.
After the breakout of the German-Soviet war (1941-1945), the Wehrmacht troops soon made their way forward the territory of Ukraine. Western Ukraine was occupied by Nazis in the first weeks of war, and in July 1942 they took over all territory of Ukraine. At first the Ukrainian people viewed the Germans as rescuers from the Stalin regime. The Organization of Ukrainian Nationalists (OUN) was of the same opinion and they saw Germany as their ally and the enemy of the Soviet Union.
Favorable conditions for activisation of Ukrainian national liberation movement were created on Ukrainian territory during the Second World War. This movement aimed at creating an independent Ukrainian State on ethnic Ukrainian territory. In the 1930s it was headed by the Organisation of Ukranian Nationalists.