Original sentence: Norway was continuously occupied until the German capitulation of 1945.When the German High Command issued its surrender there were no fewer than 400,000 German troops in Norway, which at that time had a population of barely 4 million
Edited sentence: At this time there were no fewer than 400,000 German troops in Norway, which had a population of barely 4 million.Norway was continuously occupied until the German capitulation of May 1945