This article explores the concept of "morality" as it developed in the field of criminal justice under the Habsburg monarchy during and after the Enlightenment reforms. Two penal codes, ratified in 1787 and 1803-1804, established a new, separate category for serious police offences with a heavy focus on acts against morality.
Some of these offenses were grouped according to their explicitly public dimension, like endangering the public peace or serving as a bad example. Morality was also considered when administrative officials reviewed data gathered from new statistical overviews of crime, which had been compiled in the Habsburg monarchy since the 1810s.
In contrast to the concept of "sin," immorality was no longer viewed as the root of all criminality and a clear distinction was now being made between behaviours stemming from socioeconomic causes and those with a background in morality.