Public morality is a broad concept, which includes certain individual values and ideals. It is vital that we do not force our values and ideals upon others, if they do not
harm the society with their own doings. Only if harm arises it is upon us to express our disagreement with public outcry and demand legal regulation of certain acts.
Morality has effect on establishing rules in criminal law, and at the same time the adopted rules protect precisely those moral principles that have helped them to establish. Morality and criminal law are thus intertwined and developed together, even in the area of criminal sanctions.
In modern times »morality« as such is rarely guarded by criminal law. But moral values represent such a valuable goal; they are legally enforced through
commodities like marriage, family, undisturbed development of a child and others.
Ancient cultures had key role in developing concept of moral conscience. Soon concept was adopted by Christianity. These moral values have evolved according to their criteria and have remained for many centuries. The most protected value was family and reproduction, and therefore, as the main immoral act, which remained as such at least until the 20th century, is homosexuality. These days certain practices
such as homosexuality and prostitution are not subject to public morality and are not punishable.