text: Well the first known code of law was created by Hammurabi in a year 1780 BC in Babylon. These law were presumably enforced, because the code talks about crimes and punishments for them.\n\nHowever we can go further and presume that even the cave man enforced laws taboos and traditions, in that case the exact date will be hard to find out.