 Previously, various lands in the Habsburg realm had their own laws.These laws were compiled and the resulting "Codex Theresianus" could be used as a basis for legal unification.In 1769, the "Constitutio Criminalis Theresiana" was published, and this was a codification of the traditional criminal justice system since the Middle Ages.