The Code of Hammurabi is a well-preserved Babylonian law code, dating to ca. 1700 BCE (short chronology). The sixth Babylonian king, Hammurabi, enacted the code, and partial copies exist on a human-sized stone stele and various clay tablets. The Code consists of 282 laws, with scaled punishments, adjusting "an eye for an eye, a tooth for a tooth" (lex talionis) as graded depending on social status, of slave versus free man.
Hammurabi ruled for 144 years, 1792 to 1750 BC, in the preface to the law code, he states, "Anu and Bel called by name me, Hammurabi, the exalted prince, who feared God, to bring about the rule of righteousness in the land."
Here are seventeen example laws, in their entirety, of the Code of Hammurabi, translated into English:
* If anyone brings an accusation against a man, and the accused goes to the river and leaps into the river, if he sinks in the river his accuser shall take possession of his house. But if the river proves that the accused is not guilty, and he escapes unhurt, then he who had brought the accusation shall be put to death, while he who leaped into the river shall take possession of the house that had belonged to his accuser.
* If anyone brings an accusation of any crime before the elders, and does not prove what he has charged, he shall, if a capital offense is charged, be put to death.
* If a builder builds a house for someone, and does not construct it properly, and the house which he built falls in and kills its owner, then the builder shall be put to death. (Another variant of this is, If the owner's son dies, then the builder's son shall be put to death.)
* If a son strikes his father, his hands shall be hewn off.
* If a man give his child to a nurse and the child dies in her hands, but the nurse unbeknown to the father and mother nurses another child, then they shall convict her of having nursed another child without the knowledge of the father and mother and her breasts shall be cut off.
* If anyone steals the minor son of another, he shall be put to death.
* If a man takes a woman to wife, but has no intercourse with her, this woman is no wife to him.
* If a man strikes a pregnant woman, thereby causing her to miscarry and die, the assailant's daughter shall be put to death.
* If a man puts out the eye of an equal, his eye shall be put out.
* If a man knocks the teeth out of another man, his own teeth will be knocked out.
* If anyone strikes the body of a man higher in rank than he, he shall receive sixty blows with an ox-whip in public.
* If a freeborn man strikes the body of another freeborn man of equal rank, he shall pay one gold mina [an amount of money].
* If the slave of a freed man strikes the body of a freed man, his ear shall be cut off.
* If anyone commits a robbery and is caught, he shall be put to death.
* If anyone opens his ditches to water his crop, but is careless, and the water floods his neighbor's field, he shall pay his neighbor corn for his loss.
* If a judge tries a case, reaches a decision, and presents his judgment in writing; and later it is discovered that his decision was in error, and it was his own fault, he shall pay twelve times the fine set by him in the case and be removed from the judge's bench.
Various copies of portions of the Code of Hammurabi have been found on baked clay tablets, some possibly older than the celebrated diorite stele now in the Louvre. The Prologue of the Code of Hammurabi (the first 305 inscripted squares on the stele) is on such a tablet, also at the Louvre (Inv #AO 10237). Some gaps in the list of benefits bestowed on cities recently annexed by Hammurabi may imply that it is older than the famous stele (it is currently dated to the early 18th century BCE). Likewise, the Museum of the Ancient Orient, part of the Istanbul Archaeology Museums, also has a "Code of Hammurabi" clay tablet, dated to 1750 BCE., in (Room 5, Inv # Ni 2358).