text: what year did law enforcement start? what year and date 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.  however 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.