dˈʊɹɹɪŋ ðə θˈɜːtiːnθ ænd fˈoːɹtiːnθ sˈɛntʃɚɹiz ɐ dᵻfˈɛnsɪv wˈɔːl wʌz bˈɪlt ɚɹˈaʊnd ðə tˈaʊn wɪð nˈuːmɚɹəs tˈaʊɚz ænd θɹˈiː sˈɪɾi ɡˈeɪts, bɑːɹŋkˈaʊoʊ ɡˈeɪt, ænd vˈɪɹædən ɡˈeɪt — ðə lˈæɾɚ dᵻmˈɑːlɪʃt ɪnðə nˈaɪntiːnθ sˈɛntʃɚɹi.
During the 13th and 14th centuries a defensive wall was built around the town with numerous towers and three city gates (, Barnkowo Gate, and Vierraden Gate — the latter demolished in the 19th century).