Ancient world
Hammurabi
reigned c. 1792–1750 BC · Babylon (Mesopotamia) · King and lawgiver
1800 BCAD 2000
Life and ideas
Hammurabi ruled Babylon for over forty years and turned a city-state into the leading power of Mesopotamia. Late in his reign he had a long list of laws, with a prologue and an epilogue, carved on stone pillars (stelae) and set up where people could see them. The best-known copy, now in the Louvre, was found at Susa in 1901. The laws are mostly written as cases: if someone does this, this follows. They cover family, property, trade, wages, debt and injury, with penalties that depend on a person's rank. His prologue says the gods sent him to bring justice and to protect the weak from the strong. The code was not a statute book in the modern sense, and scholars still debate how closely courts followed it, but its public, written form made it the model of law as something that rulers publish and that people can read.
The big idea
A ruler should publish the law for all to see. His code set out offences and penalties in public, in the form 'if a person does this, then this follows', and presented the king as protector of the weak.
Main work
The Code of Hammurabi (c. 1754 BC)
Legacy
The best-known early written code, and a model of law as a public, written set of rules.
The school of thought
- Classical Indian Dharma Law (Dharmashastra): Law as dharma: duty, order and right conduct, set out by sages and upheld by kings.
See everyone on the timeline and compare thinkers side by side
Take it further
How legal systems and codes grew.
A whole chapter of black-letter law on one printable page. Free sample.
- Pocket guides $12
Short PDF reference books with closed-book self-checks.
Support this free tool
This guide is free, and it takes a lot of careful work to build and keep up to date. If it helped you, you can leave a small contribution. No account is needed, and nothing is sold to you.
A one-time card payment through Stripe. It is a contribution, not a purchase, and it is not tax-deductible.
TheLawToKnow Tools’s founders of legal thought is an educational overview. It is not legal advice. Report a mistake.

