City gate

gate which is, or was, set within a city wall

A city gate is a gate that is found in many medieval cities. It was the place where people could enter or leave a walled city. Very often, city gates were closed during the night.

De Amsterdamse Poort in Haarlem.