A Short History of Law and Legal Systems
2350 BC: Urukagina's Code
This code has never been discovered but it is mentioned in other
documents as a consolidation of existing "ordinances" or laws laid
down by Mesopotamian kings. An administrative reform document was
discovered which showed that citizens were allowed to know why
certain actions were punished. It was also harsh by modern
standards. Thieves and adulteresses were to be stoned to death
with stones inscribed with the name of their crime. The code
confirmed that the "king was appointed by the gods".
A brief biography of King Urukagina :
Here is the wikipedia entry about him:
http://en.wikipedia.org/wiki/Urukagina