Four collections, one tradition
Four large legal texts survive from the first centuries of written law in Mesopotamia, and they were composed over roughly 350 years. Putting them side by side shows what they share, and where they differ. The title’s phrase “oldest known laws” needs one qualification at the start: the oldest of the four is the collection attributed to Ur-Nammu of Ur, from around 2100 BCE. The better-known text of Hammurabi is several centuries younger. Even Ur-Nammu’s collection was not the first attempt to regulate society in writing, since earlier reform texts, such as those of Urukagina of Lagash around 2350 BCE, boast of curbing abuses by officials.
Scholars also caution that “code” is a modern label. None of these texts looks like a complete statute book. They cover some matters in detail and ignore others, and they are framed by royal self-praise. Many historians therefore think they were partly statements of the king’s justice, and partly collections of model rulings.
The surviving collections compared
| Collection | Place and language | Approximate date | Notable features |
|---|---|---|---|
| Ur-Nammu | Ur, Sumerian | about 2100 BCE | Prologue, then rules mostly settled by silver fines; death for some offences |
| Lipit-Ishtar | Isin, Sumerian | about 1930 BCE | Prologue and epilogue, rules on property, boats, orchards, slaves and family |
| Eshnunna | Eshnunna, Akkadian | about 1930 BCE | No long royal prologue; prices, wages and hire rates, with liability for damage |
| Hammurabi | Babylon, Akkadian | about 1754 BCE | Around 280 provisions, class-based penalties, talion, long prologue and epilogue |
All dates are approximate, because Mesopotamian chronology depends on how one aligns king lists with astronomical evidence, and uncertainty of a few decades is normal.
Ur-Nammu: compensation in silver
The text attributed to Ur-Nammu (some scholars think his son Shulgi may have compiled it) survives on clay tablets from Nippur and Ur, and a good part of its provisions are lost. The surviving rules deal with bodily injury, marriage, slaves, false accusation and damage to farmland. For many injuries the penalty is a payment in silver, scaled to the harm. A man who cuts off another’s foot, for example, pays ten shekels, while a broken bone costs a mina, which was sixty shekels. Death is prescribed for serious offences such as murder and robbery. The overall approach is closer to compensating the victim than to matching the injury, though the texts’ wording is broken in places and translations differ.
Lipit-Ishtar: a Sumerian text from Isin
Lipit-Ishtar ruled at Isin in the generations after the fall of Ur. His collection, also in Sumerian, survives in part on tablets, mainly from Nippur. Its prologue presents the king as appointed by the gods to establish justice. The preserved rules cover matters such as a neglected orchard, hired boats, runaway slaves, inheritance and marriage. Many of the penalties are again payments, and the text suggests a society in which land, boats and slave labour were all part of everyday disputes. The size of the loss in the middle of the text means we have only a partial picture.
Eshnunna: a different kind of text
The laws of Eshnunna, written in Akkadian, were found at Tell Abu Harmal (ancient Shaduppum) in modern Iraq, on two tablets. They are usually linked to a king of Eshnunna, with Bilalama and Dadusha both proposed, though the attribution is uncertain. The collection opens with regulations on the price of barley, oil and wool, and on rental rates for wagons, boats and hired workers, which is unusual and suggests that part of its purpose was to keep the local economy orderly. Other rules deal with the theft of goods, with oxen that gore people and with sexual and family offences. Some offences carry the death penalty, others fines. It shows that a smaller city-state, not only a large empire, could issue written law, and that the Akkadian-language tradition was already well developed before Hammurabi.
Hammurabi: the largest and best known
The Babylonian king’s stele, set up near 1754 BCE, is the most detailed of the group. It has a prologue, around 280 numbered provisions by modern count, and an epilogue calling on future rulers to respect the text. It is also the collection most associated with “an eye for an eye”: certain injuries to a free man of equal rank are punished by the same injury to the offender. The same text, however, sets different penalties depending on whether the victim belongs to the upper class, to the commoner class or is a slave, and it prescribes death for a wider range of offences than the earlier Sumerian collection. A full treatment of this stele belongs elsewhere, but its place in the sequence matters here.
What the comparison suggests
Three patterns stand out, with the caution that so few texts survive that any pattern is provisional.
- Fines are common to all of them. Even Hammurabi’s text uses silver payments for many injuries, especially when the victim has a lower status. Compensation was never replaced by physical punishment; the two existed side by side.
- Status shapes the penalty. Slaves, dependants and free people were treated differently in law, and later collections state this more openly. This reflects social structure, not a steady progress toward equality or toward harshness.
- Kings used law as a statement of legitimacy. The prologues present rulers as bringing justice from the gods. Courts, judges and written contracts mattered at least as much as the laws themselves in daily practice, and surviving trial records rarely quote the collections directly.
The tradition also did not end here. Copies of Hammurabi’s text were studied in scribal schools for many centuries, and the influence of the Sumerian legal tradition on later Near Eastern law is widely discussed. Later collections include the Middle Assyrian laws and the rules known from Hittite law and society, and in the wider ancient world the Twelve Tables of Rome come from an entirely separate line of development. Broader comparisons across cultures belong to the survey of ancient legal systems.
A note on reading ancient penalties
Modern readers tend to focus on the dramatic provisions, such as mutilation and execution. These stand out partly because they are shocking, but they are not a full measure of how disputes were settled. Contracts, oaths, witnesses and local judges handled most of the work, and the texts give no reliable way to count how often the harshest penalties were actually carried out. Treat the harshest clauses as evidence of how lawmakers and scribes thought about order, not as a record of everyday punishment.