In the 14th century the town was granted municipal status and surrounded by fortified city walls, some of which are still in place. One of the most substantial structures is this gate just south of the Rynek.