The castle erected as the seat of territorial authority and the order knights, which constituted its crew. A typical Teutonic Knights commandry castle was put on a square-like plan with four wings of the same or similar height, that surrounded the courtyard with cloisters. The largest rooms: the castle’s church, refectory, chapter house and dormitory were located on the main floor, which was usually the second floor. They were always available from the cloisters. The castle was crowned with corner towers and often with bergfried tower, and the whole was surrounded by an outer wall running parallel to the walls of the order’s house. Economic rooms and warehouses were located in rooms on the ground floor or attic, or on the territory of one or several outer baileys. Examples of commandry castle are strongholds in Gniew, Radzyń and Malbork.