The stadspoort is the city gate. Until modern times, most cities had a wall around it, with gates protecting the entrance ways. Most towns had a portier or gatekeeper that was responsible for opening and closing the gates each day.

City gate in Hattem. Credits: J.P. de Koning, Rijksdienst Cultureel Erfgoed (CC-BY-SA)
