from the archive · Ancient era
Hammurabi
1810 BCE – 1750 BCE · king · monarch · leader
By The Keeper · Published
AI-assisted writing, automatically checked. Editorial process
Hammurabi (1810 BCE to 1750 BCE) was the sixth king of Babylon's First Dynasty and the ruler who turned a modest city-state on the Euphrates into the dominant power of Mesopotamia. He is remembered above all for the law collection inscribed on a black diorite stele, one of the oldest substantial bodies of written law to survive from the ancient world. Through decades of patient diplomacy, canal building, and late-career conquest, he unified southern Mesopotamia under Babylonian rule for the first time. His reign gave the region a legal and administrative vocabulary that echoed for more than a thousand years.
Early Life
Hammurabi was born around 1810 BCE into the ruling house of Babylon, then a second-rank city on the Euphrates in central Mesopotamia. His family belonged to a dynasty of Amorite origin, descendants of West Semitic pastoralists who had settled across Mesopotamia in the centuries after the collapse of the Third Dynasty of Ur and who founded ruling houses in cities from Aleppo to Larsa [1]. His father, Sin-muballit, was the fifth king of this Babylonian line, and his name honored the moon god Sin, a reminder that the family had adopted the religious customs of the older Sumerian and Akkadian world it governed [2].
Almost nothing is recorded about Hammurabi's childhood, a silence typical for Mesopotamian rulers, whose inscriptions concern deeds rather than upbringing. A prince in Babylon would have been trained in administration, cult obligations, and warfare, and possibly in the rudiments of cuneiform, though kings normally relied on professional scribes [1]. The city he grew up in controlled only a small territory, perhaps eighty kilometers of river valley, and sat wedged between stronger neighbors: Larsa under Rim-Sin in the south, Eshnunna east of the Tigris, and the aggressive kingdom of Assyria under Shamshi-Adad to the north [3].
Anyone asking who was Hammurabi before his accession finds a young man inheriting a precarious position. When Sin-muballit abdicated or died in 1792 BCE, by the conventional middle chronology, the new king took the throne of a state that survived through careful alliances rather than strength [2].
Path to Prominence
The first decades of the reign were quiet by the standards of Mesopotamian kingship. Babylonian year names, the dating formulas that commemorate each year's principal royal deed, show Hammurabi occupied with canal digging, temple restoration, and city walls far more often than with war [1]. An early campaign in his seventh year seized Isin and Uruk from Larsa, but the gains did not last, and for roughly twenty years afterward he avoided major conflict, building his agricultural base while larger powers exhausted one another [3].
Diplomatic archives recovered at Mari, the kingdom upstream on the Euphrates, capture this period in remarkable detail. Letters between envoys describe Hammurabi as one player among several near-equal kings, a correspondent of Zimri-Lim of Mari, and for a time a subordinate ally within the orbit of Shamshi-Adad of Assyria [4]. One frequently cited Mari dispatch reports that ten or fifteen kings followed Hammurabi of Babylon, the same number following Rim-Sin of Larsa and Ibal-pi-El of Eshnunna, while twenty followed Yarim-Lim of Yamhad in Syria. Babylon, in other words, began his reign as nobody's obvious master [4].
The death of Shamshi-Adad around 1776 BCE unsettled this balance. As Assyrian power fragmented, Hammurabi cultivated ties with Mari and Larsa in shifting combinations, lending troops, sharing intelligence, and waiting. Modern biographers have read in the Mari letters a ruler of unusual patience, willing to appear cautious for decades while gathering resources for a decisive stroke [1].
Major Achievements
The stroke came late. In his twenty-ninth year, around 1764 BCE, Hammurabi defeated a coalition that included Elam, Eshnunna, and their allies, a victory his year name credits to the gods Anu and Enlil [2]. The next year he turned on his long-time southern rival and, after a siege, took Larsa from the elderly Rim-Sin, absorbing the entire south of Mesopotamia in a single campaign season [3]. Around 1761 BCE he broke with his former ally Zimri-Lim and captured Mari; within a couple of years its famous palace was destroyed, an act that ironically preserved its archive of some 20,000 tablets under the collapsed walls [4]. Further campaigns subdued Eshnunna and pushed Babylonian influence up the Tigris toward Assyria. For the first time since the kings of Akkad and Ur, one ruler governed Mesopotamia from the Persian Gulf marshes to the middle Euphrates [1].
Among Hammurabi achievements, none has proved more durable than his law collection. Near the end of his reign he had nearly 300 legal provisions carved on stone monuments, framed by a prologue and epilogue declaring that the gods Anu, Enlil, and Marduk had named him to make justice appear in the land and to prevent the strong from oppressing the weak [5]. The provisions cover false accusation, theft, agriculture, irrigation liability, marriage, inheritance, adoption, assault, professional fees, and slavery, each cast in a conditional form: if a man does this, then that follows [6]. The famous principle of an eye for an eye applies between social equals, while offenses across class lines, involving the free awilum, the dependent mushkenum, and the enslaved, are settled by graded monetary penalties [5].
Scholars debate whether the collection functioned as a binding statutory code, since surviving trial records rarely cite it directly. Many now read it partly as a monument of royal self-presentation, a public claim that the king had discharged his divine duty to render just verdicts [6]. Whatever its courtroom status, the text was copied in scribal schools for over a millennium, and the best-preserved stele, a basalt-like diorite shaft about 2.25 meters tall crowned by an image of the king before the sun god Shamash, was carried off to Susa by Elamite raiders in the twelfth century BCE. French excavators found it there in 1901 and 1902, and it now stands in the Louvre [7].
Governing an Empire
Conquest was the shorter half of Hammurabi's work; administration filled the rest. A cache of his own letters, many addressed to two officials named Shamash-hazir and Sin-iddinam who managed the newly annexed south, shows the king ruling in exhausting detail. He orders the clearing of silted canals, adjudicates disputes over fields assigned to soldiers, demands that a wrongly seized ox be returned, and insists that cases be investigated and decided on their facts [1]. Petitioners could appeal from local judges to the king himself, and the correspondence suggests many did.
Economic policy followed the same hands-on pattern. Like other Old Babylonian rulers, Hammurabi periodically proclaimed misharum edicts, acts of royal justice that canceled certain debts and released debt slaves, relieving pressure on small farmers caught between fixed obligations and uncertain harvests [3]. Year names celebrate massive irrigation works, including a canal he called Hammurabi-is-the-abundance-of-the-people, which supplied water to Nippur, Isin, Uruk, and other southern cities [2].
His reign also lifted Babylon's city god to new prominence. The prologue to the laws describes Marduk receiving supreme authority among the gods just as Babylon received kingship among cities, an ideological pairing that later Babylonian theology expanded until Marduk headed the entire pantheon [5]. The political capital and the religious capital were now the same place, and they would remain so, in memory if not always in fact, until Alexander's successors.
Later Years
The final decade of the reign mixed consolidation with defense. Year names from the mid-1750s BCE record fortification work along the Tigris and Euphrates and campaigns against enemies on the northern and eastern fringes, signs that holding the new empire demanded constant effort [2]. The destruction of Mari's walls, commemorated in his thirty-fifth year, marked the definitive end of that kingdom as a rival [4].
Of Hammurabi the private man, the record preserves little. No account of his marriages or personal habits survives, though administrative texts name members of the royal household, and his heir was his son Samsu-iluna [1]. A letter from Samsu-iluna reports that his father had fallen gravely ill and that he was assuming the duties of the throne, one of the few genuinely personal glimpses in the entire dossier. Hammurabi died in 1750 BCE, in the forty-third year of his reign, and power passed to his son without recorded dispute [3].
The empire did not long outlive its builder in full form. Within a decade Samsu-iluna faced rebellion in the south led by a pretender styling himself Rim-Sin II, and over the following years the cities of the old kingdom of Larsa slipped away from Babylonian control [3]. The dynasty itself held on in a reduced territory for another 155 years, until a Hittite raid under Mursili I sacked Babylon around 1595 BCE.
Legacy
Later Mesopotamians remembered Hammurabi as a founding lawgiver. Scribes copied his laws as a classic of the curriculum into the first millennium BCE, and a millennium after his death Babylonian tradition still cited him as a model of royal justice [6]. The literary form of his collection, conditional rulings issued under divine sanction, belongs to a family of Mesopotamian legal texts that includes the earlier laws of Ur-Namma and Lipit-Ishtar, and scholars have long compared its provisions with the casuistic laws of the Hebrew Bible, which share both the if-then structure and the retaliation principle [5].
The modern career of the stele began with its excavation at Susa by Jacques de Morgan's expedition and its rapid publication in 1902 by the Dominican scholar Jean-Vincent Scheil [7]. Since then the Code of Hammurabi has become one of the most recognized artifacts of antiquity, reproduced in classrooms and courthouses; a marble relief portrait of Hammurabi is among the historical lawgivers depicted in the chamber of the United States House of Representatives [2]. Among basic Hammurabi facts, the sheer age of the monument still startles: the laws were carved roughly 3,750 years ago, centuries before the traditional dates of Moses.
Any modern Hammurabi biography must balance the legend of the lawgiver against the evidence of the working king. The tablets show a ruler who spent thirty years digging canals and answering petitions before he ever conquered an empire, and who framed even his conquests as service to the gods and shepherding of his people [1]. That combination, force joined to a public ideology of justice, is his real bequest, and it made Babylon the political and cultural center of Mesopotamia for centuries after the man himself was dust.
Questions & Answers
- When was Hammurabi born?
- Hammurabi was born around 1810 BCE in Babylonia, into the Amorite dynasty that ruled the city of Babylon. He came to the throne in about 1792 BCE, following his father Sin-muballit, and reigned until his death in 1750 BCE.
- What is Hammurabi famous for?
- He is best known for the Code of Hammurabi, a collection of nearly 300 legal provisions inscribed on a diorite stele near the end of his reign. He is also remembered for unifying Mesopotamia under Babylonian rule through victories over Larsa, Mari, Eshnunna, and Elam.
- What does the Code of Hammurabi say?
- The laws address theft, agriculture, irrigation, marriage, inheritance, assault, professional fees, and slavery, each phrased as a conditional ruling. Penalties vary by social class, and the famous eye for an eye principle applies between free persons of equal status.
- Where is the Code of Hammurabi stele today?
- The best-preserved stele is displayed in the Louvre Museum in Paris. Elamite raiders carried it from Babylonia to Susa in the twelfth century BCE, and French archaeologists excavated it there in 1901 and 1902.
- How did Hammurabi die?
- A letter from his son Samsu-iluna reports that Hammurabi had fallen seriously ill, after which the son took over royal duties. Hammurabi died in 1750 BCE, in the forty-third year of his reign, and Samsu-iluna succeeded him.
- Was the Code of Hammurabi the first written law?
- No, earlier Mesopotamian collections survive, including the laws of Ur-Namma of Ur, written roughly three centuries before. Hammurabi's collection is, however, the longest and best preserved body of law from the ancient Near East.
References
Every record in this archive is kept against verifiable sources.
- [1]Marc Van De Mieroop. King Hammurabi of Babylon: A Biography. Blackwell Publishing, 2005. Book
- [2]Hammurabi. Encyclopaedia Britannica. https://www.britannica.com/biography/HammurabiWeb
- [3]Marc Van De Mieroop. A History of the Ancient Near East, ca. 3000-323 BC. Wiley-Blackwell, 2016. Book
- [4]Georges Roux. Ancient Iraq. Penguin Books, 1992. Book
- [5]Martha T. Roth. Law Collections from Mesopotamia and Asia Minor. Scholars Press, Society of Biblical Literature, 1995. Book
- [6]Code of Hammurabi. Encyclopaedia Britannica. https://www.britannica.com/topic/Code-of-HammurabiWeb
- [7]L. W. King. The Code of Hammurabi, translated by L. W. King. The Avalon Project, Yale Law School. https://avalon.law.yale.edu/ancient/hamframe.aspPrimary source

preserved for ever
Sealed on the blockchain. Tap the seal to verify.
preserved for ever
Sealed on the blockchain. Tap the seal to verify.
This record is inscribed on the Arweave blockchain, a permanent public ledger replicated across hundreds of independent machines. The copy there cannot be edited, withdrawn, or lost. It will outlast this website, its server, and its keeper.
help the keeper
Spotted an error, or hold a source the archive lacks? Every record can be corrected. Submissions are reviewed against authentic references before any change is made.

entered into the archive
kept by The Keeper