After the devastation caused by the Thirty Years War in a largely unfortified Jutland, King Christian IV realized the necessity of building a strong fortress in Jutland, and decided that this project could be combined with his plans for building a large town in Jutland.