At the beginning of World War II, Norway declared itself a neutral state. However, despite their neutral status Germany invaded Norway, assisted by a small pro-Nazi party led by Vidkun Quisling. Oslo was quickly occupied after valiant efforts by the overmatched defenders. Oslo remained occupied throughout the war until the Nazi retreat in 1944. However, the occupying troops were harried by saboteurs and other acts of resistance throughout the occupation.