The city’s residents needed to be kept safe and secure from criminal activity. At the time of Poznań’s founding, a legal system was put in place whose rules would govern people’s lives. In 1532, the Penal Code of Emperor Charles V (also known as Constitution Criminalis Carolina) was enacted and subsequently applied in Poznań. Three years after its passage, the city authorities set up a new pillory in the Market Square. This tool for administering justice set up a very harsh system of penalties for crime. The mildest means of ostracising villains was their exposure to public ridicule. The pillory was also used for punishing people with flagellation or removal of a limb. The sentences were meted out by a city-employed executioner. His image can be found engraved on the pillory.