Hammurabi was the sixth king of the First Dynasty of Babylon, ruling from about 1792 to 1750 BCE. He turned Babylon from one of several middling city-states into the capital of a kingdom covering most of Mesopotamia, and he is best known for his laws, carved on a basalt stele that is one of the longest and best-preserved legal texts of the ancient world. All of his dates are approximate, because Mesopotamian chronology for this period is still debated.
A small kingdom among rivals
In the early second millennium BCE, Mesopotamia was divided among competing kingdoms, many ruled by Amorite dynasties. Larsa dominated the south, Eshnunna lay to the north-east, Mari held the middle Euphrates, and the conqueror Shamshi-Adad built a large state in the north. Beyond the eastern mountains lay Elam, a constant threat. Babylon's own Amorite dynasty had been founded by Sumu-abum in about 1894 BCE.
Hammurabi inherited the throne from his father, Sin-Muballit, in about 1792. His realm was modest, little more than Babylon and nearby cities such as Kish, Sippar and Borsippa, and in his early years he was overshadowed by Rim-Sin of Larsa and by Shamshi-Adad. Thousands of letters from the archives of Mari show the shifting diplomacy of the age; one says that no king is strong on his own, but that ten or fifteen kings follow Hammurabi of Babylon, as many follow Rim-Sin of Larsa and others.
Thirty years of patience
For most of his reign Hammurabi fought little and built a great deal. His inscriptions record canals, temples, granaries and city walls. He made a short early campaign, taking Uruk and Isin around 1787, but then spent decades consolidating his state and playing the larger powers against each other. He cooperated with Rim-Sin against Elamite pressure on the eastern frontier and kept close ties with Zimri-Lim, the king of Mari.
The wars of conquest
The balance broke in his thirtieth year, when Hammurabi turned on Larsa, and in about 1763 BCE he took the city after a siege of several months. Rim-Sin, who had ruled Larsa for decades, was deposed, and the whole of the south passed to Babylon. Hammurabi then defeated Eshnunna and turned against his old ally Mari, conquering it in about 1761. Two years later he had its walls pulled down; the palace that had held its famous archive was destroyed. Campaigns in the north extended his power towards Ashur on the Tigris. Within roughly ten years Babylon had become the political centre of Mesopotamia, and it remained its cultural capital for more than a thousand years.
A king at his desk
Hammurabi's surviving letters to governors and officials show a ruler who wanted to know about everything. He wrote about canals, taxes, granaries, temple estates and individual disputes, and he appointed governors to run the conquered cities. Irrigation was the foundation of the economy, and the canal system that watered the fields needed constant upkeep. These letters have been the core of his reputation as an energetic administrator since Leonard King published the first selection at the end of the 19th century.
The stele and its laws
Towards the end of his reign Hammurabi had his laws inscribed on stone stelae and set up in the cities of his kingdom. The best-known example, now in the Louvre, is a block of basalt 2.25 metres tall. It was carried off as plunder by Elamite raiders in the 12th century BCE and was found at Susa, in Iran, by French excavators under Jacques de Morgan in 1901 and 1902. At the top, a relief shows Shamash, the sun god and god of justice, seated on a throne and holding out a rod and ring to the standing king. Below, in Akkadian cuneiform, come a prologue, 282 laws and an epilogue. The prologue says that the great gods Anu and Bel (Enlil) gave Marduk, the god of Babylon, rule over humankind and called Hammurabi to bring justice to the land; it then lists the cities and temples he had favoured, from Ur and Uruk in the south to Ashur and Nineveh in the north.
The laws cover trade, property, loans, wages, marriage, divorce, inheritance, adoption, theft, assault, medical fees, building and slavery. Each follows the pattern "if a man does this, then this shall be the penalty". Some apply retaliation: a man who destroys another man's eye loses his own eye. Penalties depended on rank. Injuries to a full free man, an awilum, were punished more severely than injuries to a commoner, a mushkenum, or a slave, for whom the offender paid silver or gold. Collective responsibility could be harsh: if a badly built house collapsed and killed the owner's son, the builder's son was to be put to death. The epilogue states the purpose, in L. W. King's translation, "That the strong might not injure the weak, in order to protect the widows and orphans".
Law code or royal monument?
Scholars debate whether Hammurabi's laws were a legal code applied in courts. Legal documents of the time rarely cite the stele. Many historians therefore read it as a royal statement of justice, a collection of model verdicts meant to show the king as the shepherd of his people before gods and posterity. Earlier law collections already existed, notably that of Ur-Nammu of Ur centuries before, but Hammurabi's text was the one later scribes copied for centuries.
Successors and memory
Hammurabi died around 1750 BCE and was succeeded by his son Samsu-iluna, who failed to hold together the kingdom his father had built. The dynasty survived in a reduced Babylonia until the Hittites sacked Babylon in about 1595 BCE. His name lived on: later Mesopotamian kings revered him, and in modern times his relief portrait was placed among the lawgivers in the chamber of the US House of Representatives.
On our maps
Our 2000 BCE map shows Mesopotamia shortly before his reign. By the 1500 BCE map, Babylonia appears as a state centred on his city.
Key dates
- 1894 BCESumu-abum founds the Amorite dynasty of Babylon.
- 1792 BCEHammurabi succeeds his father Sin-Muballit as king of a small Babylonian state.
- 1787 BCEBriefly takes Uruk and Isin in an early raid.
- 1763 BCEConquers Larsa and overthrows its long-reigning king Rim-Sin.
- 1762 BCEDefeats Eshnunna and extends his power north towards Ashur.
- 1761 BCEConquers Mari on the Euphrates, his former ally.
- 1759 BCEHas the walls of Mari torn down.
- c. 1755 BCESets up stelae inscribed with his laws in the cities of his kingdom.
- 1750 BCEDies; his son Samsu-iluna succeeds him.
- 1595 BCEThe Hittites sack Babylon and end his dynasty.
- c. 1150 BCEElamite raiders carry his law stele from Babylonia to Susa.
- 1901French excavators led by Jacques de Morgan find the stele at Susa.
From the atlas
Hammurabi in time and on the map
Hammurabi lived from 1810 BCE to 1750 BCE. None of the atlas’s world maps falls within those years; the nearest is 2000 BCE.
The state most associated with Hammurabi is Babylonia.
Born just before and after, among others on this site: before, Khufu (2700–2566 BCE) and Sargon of Akkad (2350–2300 BCE); after, Ahmose I (1560–1525 BCE) and Hatshepsut (1507–1458 BCE).
Hammurabi comes up in the guided tours Mesopotamia: Cradle of Civilization and Persia: Empires of the Iranian Plateau.
Quick answers
- When was Hammurabi born, and when did Hammurabi die?
- Hammurabi was born in 1810 BCE in Babylonia and died in 1750 BCE in Babylonia, aged about 60.
- Who was Hammurabi?
- Hammurabi was the sixth king of the First Dynasty of Babylon, ruling from about 1792 to 1750 BCE.
- Which state is Hammurabi linked to on the map?
- Babylonia.
- How do we know so much about Hammurabi?
- Mostly from texts on clay and stone. Thousands of letters survive from the palace archive of Mari, where agents reported on Babylon's moves, and many of Hammurabi's own letters to his governors were found and published, the first collection by Leonard King in 1898–1900. His own inscriptions and the stele itself add his account of his wars, buildings and aims.
- Was Hammurabi's code really "an eye for an eye"?
- Only for equals. Law 196 says that a man who puts out the eye of another man shall lose his own eye, but if the victim is a lower-ranking freed man the penalty is a gold mina, and for a slave it is half the slave's value. The laws mix retaliation, fines and death sentences, with the penalty set by the social rank of both parties.
- What does the top of the stele show?
- A carved relief shows the sun god Shamash, god of justice, seated on a throne and holding out a rod and ring, symbols of authority, to Hammurabi, who stands before him bearded, in a long robe and a brimmed cap. The scene presents the laws below as authorised by the gods.
- Is Hammurabi the Amraphel of the Bible?
- Earlier scholars identified him with Amraphel, king of Shinar, in Genesis 14, but the idea has been abandoned. Nothing in the Mesopotamian sources supports the link, and the names do not match on close study.