The Vispoortgracht is part of the moat which surrounds the town centre. Together with the rivers IJssel and Berkel it encloses the city. During the Middle Ages this was one of the defences against potential enemies such as the French and Spanish armies. Until 1874 the town was also surrounded by big walls. It was only after that date that it was permitted to build outside the city walls.