It was important to defend and protect the town. All burghers took part in the town defence as guards checking the streets and alleys every night. In addition, there were soldiers employed by the king in order to defend the town. Many towns had a castle where the royal bailiff and the soldiers stayed. Read about the night guards and the trained soldiers.