Mesopotamia Laws: Hammurabi, Courts, and the River Ordeal

The laws of ancient Mesopotamia are the world’s oldest surviving written legal codes, beginning with the Code of Ur-Nammu around 2100 BCE and continuing through the Laws of Eshnunna, the Code of Lipit-Ishtar, the famous Code of Hammurabi, and the Middle Assyrian laws. Across roughly a thousand years, these codes moved from monetary compensation for injury, to matching retaliation between social equals, to harsh corporal punishment under Assyrian rule. They governed violence, marriage, inheritance, debt, medical practice, and commerce, and they were enforced through local courts, professional judges, sealed clay-tablet contracts, and, in cases without evidence, a river ordeal.

The First Written Laws: The Code of Ur-Nammu

The Code of Ur-Nammu, produced during the Third Dynasty of Ur around 2100–2050 BCE, is the oldest extant law code in the world. Scholars debate whether Ur-Nammu himself or his son Shulgi compiled the final text.1World History Encyclopedia. Code of Ur-Nammu: The Oldest Law Code in the World It was written in Sumerian on clay tablets and survives only in fragments.

What makes the code distinctive is that it replaced physical retaliation with silver. Knocking out someone’s eye cost the offender half a mina of silver, about thirty shekels. Severing bones with a weapon cost a full mina. Cutting off a foot cost ten shekels, cutting off a nose cost two-thirds of a mina, and knocking out a tooth cost two shekels.1World History Encyclopedia. Code of Ur-Nammu: The Oldest Law Code in the World Harm someone and you owed them money; the punishment fell on the offender’s wealth rather than his body.

Family and agricultural disputes followed the same pattern. A man who divorced his first wife owed her one mina of silver, and marriage disputes, unauthorized unions, and sexual offenses were handled through financial penalties. Fines for neglecting fields or causing flooding were measured in grain.2The Schoyen Collection. The Ur-Nammu Law Code Sumerian justice treated legal disputes mainly as economic problems with economic solutions.

The Codes Between: Lipit-Ishtar and Eshnunna

Ur-Nammu’s code was not the only one. Other city-states produced their own written laws in the centuries that followed.

The Code of Lipit-Ishtar, dated to roughly 1934–1924 BCE, sits almost exactly between Ur-Nammu and Hammurabi in time. It was Sumerian, followed the standard structure of a prologue, individual laws, and an epilogue, and addressed personal rights, marriage, inheritance, penalties, property, and contracts.3Britannica. Code of Lipit-Ishtar

The Laws of Eshnunna, recovered on two broken tablets at Tall Abū Harmal near Baghdad, are believed to be about two generations older than Hammurabi’s code. The two tablets are not duplicates but separate copies of an older source, and comparing them with Hammurabi lets scholars trace how legal thinking evolved.4Britannica. Eshnunna – Map, Statuettes, and History Mesopotamian legal thought developed as a continuous tradition, with each city-state borrowing from its predecessors.

The Code of Hammurabi

Hammurabi’s code is the most famous legal text from the ancient world, and it marked a sharp shift in philosophy. Where Ur-Nammu imposed fines, Hammurabi imposed matching injuries, the principle known as lex talionis. That principle defined the code’s treatment of violence between social equals.5Humanities LibreTexts. 2.7 Hammurabis Code The code was inscribed on a large basalt stele, now housed in the Louvre, so local officials could not quietly rewrite it.

Punishment by Social Class

Punishment depended almost entirely on the social status of both offender and victim. Babylonian society was divided into three classes: the amelu (the elite), the mushkenu (free commoners), and the wardu (slaves). If one elite man broke another’s bone, the offender’s bone was broken in return. If the victim was a commoner, the offender paid a fine in silver. If the victim was a slave, compensation went to the owner.5Humanities LibreTexts. 2.7 Hammurabis Code

The same logic governed professional liability. A physician who performed surgery on a member of the elite and caused the patient’s death or the loss of an eye had his hands cut off. If the same thing happened to a slave, the physician only owed the owner the slave’s replacement value.5Humanities LibreTexts. 2.7 Hammurabis Code The higher the victim’s status, the more severe the consequence.

Debt and Economic Protections

A significant portion of Hammurabi’s code regulated commerce, debt, and labor rather than crime. One striking protection limited debt servitude. Under Law 117, if a debtor sold family members to a creditor to satisfy a debt, those family members served for three years, and the creditor was required to release them in the fourth.6American Bankruptcy Institute. History of Bankruptcy – Part 3 In a society where debt could become permanent bondage, a hard time limit was a meaningful safeguard.

The Middle Assyrian Laws

Compiled between roughly the fourteenth and twelfth centuries BCE, the Middle Assyrian laws represent Mesopotamian legal severity at its peak. The system leaned heavily on corporal mutilation and capital punishment for offenses that Sumerian law would have settled with silver. The goal was less about compensating victims and more about projecting state power through fear.

Veiling and the Regulation of Women

The best-documented feature of the Middle Assyrian laws is the veiling code. Married women, widows, and other free-born Assyrian women were required to wear veils in public. Slave women and prostitutes were strictly forbidden from doing so. The veil was a legal marker of status, and the penalties for violating the rule were brutal.

A prostitute caught wearing a veil could be seized by any man who saw her. After securing witnesses, he was required to bring her to the palace entrance, where she received fifty blows with rods and hot pitch poured over her head. A slave woman caught veiled had her ears cut off. The law also targeted bystanders. A man who saw a veiled prostitute or slave and failed to report her received fifty blows himself, had his ears pierced and threaded on a cord tied behind his back, and owed a full month of forced labor to the king.7Edizioni Ca’Foscari. Veiling in Ancient Near Eastern Legal Contexts

Male family members held sweeping authority in domestic matters. Adultery could lead to execution or permanent physical scarring, and the husband was sometimes authorized to determine the punishment. When a man died, his father-in-law could assign the widow to another son in the family, a practice known as levirate marriage. This was conditional on the widow not having produced children with the deceased husband; its purpose was to continue the dead man’s family line.8The Melammu Project. Levirate Marriage

Family, Marriage, and Inheritance

Family law occupied a substantial share of every Mesopotamian code. Marriage was fundamentally a contract, governed by terms agreed in advance and recorded on clay tablets. When a property owner died in Old Babylonian society, his estate was typically divided among male heirs through a formal family division agreement. Brothers dissolved their co-ownership of houses, land, and monetary assets by splitting them into defined portions, and the agreements were finalized with an oath in the king’s name and authenticated with witnesses and seal impressions.9SciELO. Old Babylonian Family Division Agreement From a Deceased Estate

Adoption served a different but equally practical purpose. Old Babylonian adoption agreements created an artificial family bond with reciprocal obligations, often used to continue a family line when biological heirs were unavailable. These arrangements were flexible, with no standardized formula, and scribes adapted each agreement to the specific circumstances of the families involved.10Unisa Press Journals. Towards a Typology of Old Babylonian Adoption Recordings

How Mesopotamian Courts Worked

Disputes moved through a layered process. Local courts made up of city elders or residential assemblies heard initial complaints and tried to broker settlements. When that failed, professional judges appointed by the state presided over formal proceedings. The king served as the highest court of appeal, particularly for capital cases involving murder, treason, or sorcery.11Encyclopedia.com. The Legal System

Contracts and Seals

Written contracts were central to legal life. Any significant transaction, whether a property sale, a loan, or a marriage agreement, was recorded on a clay tablet and authenticated by pressing a cylinder or stamp seal into the wet clay. Both the contracting parties and the witnesses applied their seals. People too poor to own a personal seal could substitute a fingernail impression pressed repeatedly into the surface, or the fringe of a garment pressed into the clay.12Centre for the Study of Manuscript Cultures. A Personal Seal to Authenticate and Protect Ones Assets The marks served the same function a signature serves today.

The River Ordeal

When testimony contradicted itself and no documentary evidence existed, courts turned to divine judgment through the River Ordeal. The accused was thrown into a river, and the result was treated as a ruling from the gods. Survival meant innocence. Drowning meant guilt, and the drowned person’s property could be awarded to the accuser.11Encyclopedia.com. The Legal System

The ordeal cut both ways. Under Hammurabi’s code, if the accused survived the river, the accuser was put to death and the accused took possession of the accuser’s property. Bringing a charge you could not prove was a gamble with your life, and that symmetry of risk did not eliminate false accusations, but it made them genuinely dangerous to attempt.