In the 17th century, Copenhagen had become home to a sizeable garrison. A military church was built at Kastellet in 1670 but its modest size only allowed it to serve the personnel at the fortress. The rest of the troops in the city had to use Church of Holmen, a former anchor forge which had been converted into a naval church in 1619.
When Sophie Amalienborg burned down in 1689, its chapel survived the flames and was subsequently put at the disposal of the Army. However, the small building which had been built for members of the royal court only served as a temporary solution. Christian V therefore provided a tract of land at Dronningens Tværgade for the construction of a new church for the Army and military engineer Georg Philip Müller completed a set of renderings in 1697. When Frederick IV ascended the throne in 1699, he moved the project to a site in the southernmost section of Sophie Amalienborg's former gardens. Construction began in 1703, still to Müller's design but under the supervision of Domenico Pelli. The following year it was decided to built the church to a larger and somewhat modified design and the project was taken over by General Master Builder Wilhelm Friedrich von Platen. The church was inaugurated on 24 March 1706.
References:The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. They were also the largest and strongest fortification in both the ancient and medieval world.
Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double line of the Theodosian Walls was built in the 5th century. Although the other sections of the walls were less elaborate, they were, when well-manned, almost impregnable for any medieval besieger.