Gliwice belongs to the old city in Silesia, which has retained its medieval urban layout in the center. We do not know the exact date of granting city rights to Gliwice, but it was probably as early as in the thirteenth century. In the fourteenth century, the city on the Kłodnica river was surrounded by defensive walls. They protected the market square with the town hall and the nearby church of All Saints. The town had a gridiron plan. All these medieval features have survived to this day almost unchanged.