LLMpediaThe first transparent, open encyclopedia generated by LLMs

Codex Hammurabi

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Expansion Funnel Raw 30 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted30
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
Codex Hammurabi
Codex Hammurabi
Mbzt · CC BY 3.0 · source
NameCodex Hammurabi
CaptionFragmentary depiction of the stele bearing the laws attributed to Hammurabi
WriterAttributed to Hammurabi
LanguageAkkadian (Old Babylonian dialect)
Datec. 1792–1750 BC
PlaceBabylon
SubjectLegal code

Codex Hammurabi

The Codex Hammurabi is a collection of laws traditionally attributed to the Babylonian king Hammurabi and inscribed on a diorite stele. Composed during the early second millennium BC in Mesopotamia, the code is a foundational document for the legal and administrative history of Ancient Near East civilizations and exemplifies the legal order of Ancient Babylon.

Historical context and creation

Hammurabi, ruler of Babylonia from ca. 1792 to 1750 BC, consolidated a territorial state from competing city-states such as Isin and Larsa. The code is usually dated to his reign and reflects the need for standardized laws across a diverse realm. Its creation must be seen against the backdrop of evolving literate bureaucracies in Mesopotamia, including the use of cuneiform on clay tablets by scribal schools in cities like Sippar and Nippur. The prologue invokes divine legitimation, naming the god Shamash as the source of royal justice, and situates the code within royal ideology and the maintenance of order.

Structure and contents of the code

The stele contains a prologue, a series of case laws, and an epilogue. The prologue enumerates Hammurabi's titles, his relationship with Marduk and Shamash, and the purpose of establishing justice. The main body lists approximately 282 laws, arranged in casuistic ("if... then...") form, addressing topics from family law to commerce. Notable subject areas include property disputes, liability rules for builders and physicians, debt and mortgage practices, slave regulations, and penalties for theft and assault. The epilogue details rewards and curses associated with preservation or defacement of the stele. The text is written in Akkadian cuneiform but shares features with earlier Sumerian proverbs and legal traditions such as the Code of Ur-Nammu and later with Hittite and Assyrian law.

The code embodies principles of recompense, social stratification, and public responsibility. It frequently applies different penalties depending on social status—distinguishing free citizens, commoners, and slaves—thus reflecting the hierarchical structure of Babylonian society. The principle of talion, often paraphrased as "an eye for an eye", appears in forms regulating corporal punishment and compensation. The laws place emphasis on contractual obligations, property rights, and familial duty, upholding patriarchal authority in marriage, inheritance, and household management. These provisions were meant to stabilize social relations and legitimize royal oversight of justice.

Administration and enforcement in Ancient Babylon

Enforcement of the code relied on royal courts, local magistrates, and a professional corps of scribes and judges trained at temple-linked institutions. The prologue and epilogue suggest that the king expected local officials to apply the laws uniformly across cities such as Babylon and provincial centers. Records on clay tablets from contemporary archives corroborate the existence of legal procedures: notarized contracts, debt records, and court judgments found at sites like Mari and Assur demonstrate similar practices. Penalties included fines payable in shekels of silver, corporal punishment, forced labor, or execution, and enforcement mechanisms involved temple economies and palace administrators.

Influence on Babylonian society and economy

By clarifying obligations in commerce, loan agreements, property transfer, and professional liability, the code contributed to economic predictability for merchants, landowners, and artisans. Commercial clauses regulate interest, collateral, and duties of shipmasters and innkeepers, facilitating long-distance trade along Euphrates River routes. Agricultural provisions reflect the importance of irrigation, land tenure, and sharecropping in Mesopotamian agrarian economy. Socially, the code reinforced class distinctions and the patriarchal family as the basic unit of production and legal responsibility, thereby supporting political stability and centralized authority.

Transmission, discovery, and preservation

Although the original stele was erected in public, numerous copies and references circulated on clay tablets, enabling transmission through scribal education. The principal stele carrying the most complete version was rediscovered in 1901 by French archaeologist Jacques de Morgan (work led by the Musée du Louvre team) at the site of Susa, where it had been taken as spoil by the Elamite king Shutruk-Nakhunte. The artifact is now housed in the Louvre Museum in Paris. Scholars have studied the stele alongside thousands of administrative and legal tablets recovered from Mesopotamian sites, with philologists from institutions such as the British Museum and various universities producing editions, translations, and commentaries.

The Codex Hammurabi influenced subsequent Near Eastern legal practice and served as a comparative touchstone for later codes, including Assyrian law compilations and the Middle Assyrian Laws. Its form and concepts resonated with legal thought in surrounding cultures, informing Hittite and Levantine jurisprudence. In modern scholarship the code is central to studies of ancient law, comparative legal history, and the development of state authority. Museums, universities, and legal historians continue to analyze its language and social implications, while the stele remains an emblem of early codified law and monarchical responsibility for justice. Legal history and Assyriology rely on it as a primary source for reconstructing Mesopotamian institutions and values.

Category:Ancient Babylon Category:Ancient legal codes Category:Hammurabi