The Code of Hammurabi
Welcome! I am so excited to explore the with you. It is one of the most famous and fascinating legal documents in human history.
To help me tailor our session, could you tell me a bit about why you're interested in the Code of Hammurabi, or how much you already know about it?
I'm brand new to this and just want a general overview.
Your path
Structure and Core Principles
Impact and Legacy
Let's start right at the beginning with what this famous text actually is.
The Birth of Written Law
The is an ancient Babylonian legal text enacted around 1750 BCE. Instead of a modern paper book, this collection of 282 laws was carved in a beautiful, flowing script called directly onto a massive, finger-shaped black stone pillar.
By carving the rules into stone, the king made them permanent. In ancient times, this was a massive shift in how societies were run. Before written codes, laws were often unwritten, fluid, and completely subject to the whim of whoever was in power. If a local judge didn't like you, they could simply change the rules on the spot.
Hammurabi's Code changed the game by creating public, unalterable standards. If a dispute arose over a contract, land, or a crime, anyone could check the physical stone to see exactly what the law required. It was an early, powerful leap toward the modern concept of the rule of law.
Continue to learn about King Hammurabi and his reign
To understand why this legal code was created, we have to look closely at the man behind it: King , the sixth ruler of the First Dynasty of Babylon.
The Master Unifier
When Hammurabi took the throne in 1792 BCE, Babylon was just one of many competing city-states scattered across the fertile plains of Mesopotamia. The region was a chaotic patchwork of different cultures, languages, and local customs.
Hammurabi spent the first few decades of his reign building up his military, forming clever alliances, and then systematically conquering his rivals. By the end of his rule, he had successfully united almost all of Mesopotamia under a single, massive empire.
But Hammurabi knew that conquering an empire with spears was much easier than holding it together. He needed a way to bind these diverse, newly conquered peoples into a single, cohesive society. How do you make people from different cities feel like they belong to the same nation? His answer was a centralized legal system. By establishing a single set of laws that applied to everyone, he sought to bring order to his vast new kingdom and cement his authority as a just, divinely chosen ruler.