During the Second World War, the NKP initially opposed active resistance to the German occupation, in deference to the non-aggression pact between the Soviet Union and Germany. Once Germany terminated the pact and attacked the Soviet Union, the Communist Party of Norway joined the resistance.