The Code of Hammurabi — Law and Legend

A King and His Laws

Around 1754 BCE, in the flourishing city of Babylon, King Hammurabi had his laws inscribed on a tall black stone stele. At its top, the king is depicted receiving authority from the sun god Shamash, the divine judge. Below runs a list of nearly 300 legal rulings, known today as the Code of Hammurabi.

To modern eyes, it looks like the birth of law itself — the moment when human society moved from custom to written justice. But the reality, like all legends, is more complex.

What Was the Code?

  • Content: The code included laws on property, trade, marriage, crime, debt, and punishment. It covered everything from wages for ox-drivers to penalties for sorcery.
  • Format: Written in Akkadian cuneiform, it followed a “case-law” style — if X happens, then Y is the penalty.
  • Harsh Justice: It is famous for “an eye for an eye” — the principle of retaliation (lex talionis). Yet punishments varied by class: nobles, commoners, and slaves were not treated equally.
  • Symbolic Role: It was less a practical code than a public statement. Courts still relied on custom, but the stele broadcast Hammurabi’s image as a just king.

The code was as much propaganda as law, a monument to royal authority.

Justice and the Gods

The prologue and epilogue of the code matter as much as the laws.

  • Hammurabi claims the gods chose him “to cause justice to prevail in the land, to destroy the wicked and evil, so the strong may not oppress the weak.”
  • Shamash, god of truth and justice, appears handing Hammurabi the rod and ring of authority.
  • The king positioned himself not as mere ruler but as divinely sanctioned guardian of order.

For Babylonians, law was not human invention alone — it was cosmic, rooted in divine will.

Law in Action

Did the code function as everyday legal manual? Probably not. Judges in Babylon used precedent and local custom more than consulting the stele.

Instead, the code:

  • Unified Ideology: It symbolized order across Hammurabi’s expanding empire.
  • Royal Propaganda: It portrayed the king as protector of the weak.
  • Cultural Memory: It anchored Hammurabi’s reign in permanence — stone outlasting parchment.

Thus, its importance was less practical than symbolic — a law that looked eternal.

Myths About the Code

Over time, the Code of Hammurabi took on legendary status:

  • “First Law Code”: While famous, it was not the first. Earlier Sumerian rulers, like Ur-Nammu, issued written laws centuries earlier.
  • Harshness Overstated: The “eye for an eye” principle was not universal. Many cases were resolved through fines, showing more nuance than legend suggests.
  • Justice Idealized: The code portrayed Hammurabi as champion of justice, but in practice, inequality remained strong.

The myth of the code is almost more important than the reality — the idea of a king writing laws for all people.

Influence on Later Law

While not directly copied, Hammurabi’s code influenced later imagination about law:

  • Hebrew Bible: The laws of Moses echo similar structures of case-law, divine authority, and moral codes.
  • Greeks and Romans: Later lawgivers, from Solon to Justinian, were remembered in similar legendary terms.
  • Modern Memory: The stele, discovered in 1901, became symbol of ancient justice, displayed in the Louvre as monument to human legal heritage.

Thus, Hammurabi’s laws endured less in practice than in idea.

Legend in the Modern World

Today, Hammurabi’s code is often invoked in textbooks as milestone in civilization. It serves as shorthand for:

  • The idea that justice is written, not arbitrary.
  • The vision of a ruler accountable to divine order.
  • The origin of law as foundation of society.

It is less about specifics of Babylonian law than about the myth that humanity has always sought justice through rules, not whims.

Conclusion: Stone and Story

The Code of Hammurabi stands as both artifact and legend. Historically, it was one of many ancient law codes, shaped by inequality and royal propaganda. But as legend, it became symbol of justice itself — the idea that rulers must protect the weak, that law is eternal, carved in stone.

That duality is why Hammurabi’s name endures. His code is not just ancient text, but timeless myth: of a king who, with help of the gods, sought to make justice visible on earth.

Similar Posts