In 1345 the town of Flensburg began to build its town wall. A gate was built on the north side of the town. It was called "Norder Porte". It was replaced by a building in the 16th century called the Nordertor. This marked the northern boundary of the town. It was a checkpoint that was closed in the night.