 The assignment was a consequence of the coup d'état of King Gustav III of Sweden on 19 August 1772 and the subsequent prospect of war with Sweden.While in Norway, Princess Louise gave birth to their fourth child Juliane in 1773.Even though Charles returned to Schleswig-Holstein in 1774, he continued to function as commander-in-chief of the Norwegian army until 1814.