Why Did Mesopotamia Make Laws? Irrigation and Kings | 5-Minute World History #02
The flow in three lines
- About 3,800 years ago, King Hammurabi carved his laws in stone to judge a large kingdom by one set of rules and show he was just.
- In dry southern Mesopotamia, irrigation agriculture needed many hands and shared rules to keep river water flowing to the fields.
- Hammurabi's Code is 282 laws in Akkadian cuneiform on a basalt stele, including canal rules and "an eye for an eye" between equals.
Also calledCode of Hammurabiwhy did Mesopotamia make lawseye for an eyewho invented cuneiformSumerians and Akkadiansirrigation in Mesopotamia
Video
Pressing play loads the YouTube player on this page. Watch on YouTube
Explained
In the video
- 0:00A dry canal, 3,800 years ago
- 0:36The Tigris and Euphrates, irrigation, the Bronze Age, a lunar calendar
- 1:22Two villages face off at a dam
- 1:50A bedtime story: Gilgamesh, Sumerian city-states, ziggurats, theocracy, Sargon of Akkad, Old Babylon
- 2:49A scribe, clay tablets, cuneiform and Akkadian
- 3:12The Code of Hammurabi, an eye for an eye, base 60, and water returns
- 5:15Harvest
- 5:32From Susa to the Louvre
- 5:48The real stele, and why make laws?
- 6:17The 20 key words
- 6:45Two questions to check your understanding
- 8:04About this series
The video above tells the story of Iddin, a village elder whose canal runs dry. This page collects the 20 key terms from the video, the chain of cause and effect behind the question "why make laws?", how to read the main sources, and common questions.
Iddin, Nadin, Abi, Zakir, the royal official and the scribe are fictional characters based on records of the time. The official's order (take down the dam, open the sluice gate on alternate days, share canal clearing by field size) and the numbers "40" and "1, 20" are part of our story, not historical records.
The short version
- In southern Mesopotamia, where little rain falls, irrigation agriculture needed many hands and shared rules.
- Sumerian city-states fought over water and fields, and their kings ruled in the name of the gods (theocracy).
- After Sargon I of Akkad first united the region, King Hammurabi of the Old Babylonian Kingdom ruled a large kingdom with one set of laws, and carved them in stone: the Code of Hammurabi.

The 20 key terms (and where they appear in the story)
- Tigris and Euphrates: the two rivers that frame Mesopotamia, "the land between the rivers." Shown flowing down from the northern mountains.
- Irrigation agriculture: farming with river water carried to fields by canals. In the south, rain alone can't grow grain. The whole village clears the canals of mud at the end of winter.
- Bronze Age: the era of tools and weapons made of bronze, copper mixed with tin. Iddin's hoe has a bronze blade. (Southern Mesopotamia had no tin and traded for it; stone and copper tools stayed in use too.)
- Lunar calendar: each month began on the evening the new crescent moon appeared. Twelve lunar months fall short of a year of seasons, so a royal order added an extra month when needed (which is why it is also called a lunisolar calendar). Iddin marks the new moon on a little clay tablet; later the official announces "a second month of Addaru."
- Epic of Gilgamesh: the tale of Gilgamesh, a king of Uruk. It grew out of Sumerian stories; the oldest version in Akkadian (the Old Babylonian version) survives on tablets from around the 18th century BCE. Iddin tells it to his grandson at bedtime.
- Sumer / the Sumerians: Sumer is the land of southern Mesopotamia; the Sumerians are the people who built its cities.
- City-states: cities like Ur, Uruk, Lagash and Umma, each with its own king and each a country of its own.
- Ziggurat: a stepped tower of sun-dried brick for a city's god. The ziggurat of Ur was built around 2100 BCE for the moon god Nanna.
- Theocracy: rule in the name of the gods. The king served the city's god and ruled in the god's place.
- Akkad / the Akkadians / Akkadian: Akkad is the land to the north (the site of its capital has never been found); the Akkadians are the Semitic-speaking people from there; Akkadian is their language, written with borrowed cuneiform signs. The Code of Hammurabi is written in Akkadian.
- Sargon I (Sargon of Akkad, reigned 2334–2279 BCE): defeated the Sumerian city-states and united Mesopotamia for the first time.
- Old Babylonian Kingdom (the First Dynasty of Babylon): the kingdom ruled from Babylon, from the early 19th to the early 16th century BCE (dates vary by chronology). Hammurabi was one of its kings.
- Clay tablets and cuneiform: wedge-shaped writing made by pressing a cut reed into damp clay, most likely invented by the Sumerians. The scribe writes Iddin's complaint this way.
- Code of Hammurabi: 282 legal rulings collected near the end of Hammurabi's reign (he reigned about 1792–1750 BCE), carved in Akkadian cuneiform on a black basalt stele about 7 feet 4 inches (2.25 m) tall.
- Lex talionis: "an eye for an eye, a tooth for a tooth." But it applied between equals: harming someone of lower rank was paid for in silver. Punishments depended on rank.
- Base-60 (sexagesimal) system: counting in groups of sixty, begun by the Sumerians and passed on to Babylon. It survives in our 60-minute hour, 60-second minute and 360-degree circle. The scribe presses "40" and "1, 20" into clay.

Cause and effect

- A dry south: rain alone can't support farming in southern Mesopotamia, so water has to be led from the rivers.
- Irrigation takes many hands and shared rules: canals silt up quickly. A surviving letter from Hammurabi orders his official Sin-iddinam to gather the people who farm along a canal and clear it "within this month." When upstream and downstream farmers share one canal, they need rules, and someone strong enough to enforce them.
- Rival city-states and kings who ruled for the gods: each Sumerian city was its own state. Lagash and Umma fought for generations over fertile land and canals on their border (the "Stele of the Vultures," about 2450 BCE). Kings served their city's god and ruled on its behalf.
- Akkad unites the land: Sargon I of Akkad brought the cities together into one kingdom (24th century BCE), and Akkadian spread widely.
- Old Babylon and laws in stone: in 1763 BCE Hammurabi defeated Larsa and took control of the south. To settle the quarrels of many villages and towns by the same rules, and to show he was a just king chosen by the gods, he had his laws carved on a stele for all to see. Even the calendar's extra months were set by royal order.


Photo: Mbzt (CC BY 3.0) / Wikimedia Commons
What Mesopotamia left us
- Base 60: 60 minutes, 60 seconds, 360 degrees.
- The Epic of Gilgamesh: one of the oldest stories in the world. It opens and closes with the walls of Uruk. The best-known twelve-tablet version comes from the later library of King Ashurbanipal (7th century BCE).
Other views, in brief
- Was the Code used as law? Some scholars see it less as a rulebook like modern law and more as a showcase of the king's fair judgments (the Louvre calls it a collection of 282 rulings).
- Did irrigation create royal power? Many canals were run by agreements between villages, so irrigation alone can't explain the rise of kings.
- Lunar or lunisolar? Many textbooks say "lunar calendar"; because extra months kept it in step with the seasons, it is also called lunisolar.
Note: this page follows the common textbook view that the Code was a way to rule a large kingdom by one law and to show the king's god-given justice (for other views, see the Louvre's description and Wikipedia's "Code of Hammurabi").
Common questions
Who invented cuneiform, the Sumerians or the Akkadians?
The Sumerians. The earliest tablets that led to cuneiform come from Uruk, around 3200 BCE (the date has a range). The Akkadians later borrowed the script to write their own language.
What is the difference between Sumer, Sumerians, Akkad, Akkadians and Akkadian?
Sumer and Akkad are places (south and north). The Sumerians and Akkadians are the people who lived there. Akkadian is the Akkadians' language. Thinking "place, people, language" keeps them apart.
Does "an eye for an eye" mean "take revenge"?
It is usually read as a limit: punishment should match the harm, no more. And it applied only between equals; harming someone of lower rank was settled with silver.
Where does the Epic of Gilgamesh come from?
Mesopotamia. Its hero is a king of Uruk. It began as Sumerian stories and was gathered in Akkadian in the Old Babylonian period. It is not Egyptian.
Why does an hour have 60 minutes?
It is a legacy of Mesopotamian base-60 counting. Sixty divides evenly by 2, 3, 4, 5, 6, 10, 12, 15, 20 and 30, which made it handy for sharing and calculating.
Why was the stele found at Susa, in Iran?
In the 12th century BCE, King Shutruk-Nahhunte of Elam raided Mesopotamia and carried the stele off to Susa as a war prize. A French expedition found it there in 1901–1902, and it is now in the Louvre in Paris.
Further reading
- OpenStax, *World History Volume 1*, 3.2 "Ancient Mesopotamia": openstax.org/books/world-history-volume-1/pages/3-2-…
- World History Encyclopedia, "Cuneiform": worldhistory.org/cuneiform
- The Louvre, "The Code of Hammurabi": louvre.fr/en/the-code-of-hammurabi
- The Code of Hammurabi, trans. L. W. King (Yale Avalon Project): avalon.law.yale.edu/ancient/hamframe.asp
- The Metropolitan Museum of Art, "The Origins of Writing": metmuseum.org/essays/the-origins-of-writing
- MacTutor, "Babylonian numerals": mathshistory.st-andrews.ac.uk/HistTopics/Babylonian_numerals
- Japan's Ministry of Education, high school curriculum guidelines commentary, Geography and History (in Japanese), pp. 292–294
For the short version, watch our Short "What if you flooded your neighbor's field?"
Shorts
Sources
Where the facts and numbers in the video and on this page come from.
References
- The Louvre, "The Code of Hammurabi"
- The Code of Hammurabi, trans. L. W. King (Yale Avalon Project)
- OpenStax, World History Volume 1, 3.2 "Ancient Mesopotamia"
- The relief at the top: King Hammurabi stands before the seated sun god Shamash, the god of justice. The image presents the king's authority as a gift from the gods.
- Prologue and epilogue: the laws were set down "so that the strong should not harm the weak" (L. W. King's translation).
- Laws 53–55 (canals): if someone neglects his dike or canal and floods a neighbor's field, he must repay the lost grain; if he can't, his property is sold to pay. A rule made for an irrigation society.
- Laws 196–200 (talion and rank): if a man puts out the eye of an equal, his own eye is put out (196); a tooth for a tooth (200). For a commoner's eye, one mina of silver (198); for a slave's, half his value (199).
- Hammurabi's letters: one orders canal clearing (British Museum No. 25,071); another says the year is "deficient" and orders the coming month to be recorded as a "second Ululu" (King, The Letters and Inscriptions of Hammurabi, vol. 3). The "second Addaru" in our video is a story order based on the names of extra months used in this period.
Links
- louvre.fr/en/the-code-of-hammurabi
- avalon.law.yale.edu/ancient/hamframe.asp
- openstax.org/books/world-history-volume-1/pages/3-2-…
- worldhistory.org/cuneiform
- metmuseum.org/essays/the-origins-of-writing
- mathshistory.st-andrews.ac.uk/HistTopics/Babylonian_numerals
Voice, music, art
- Music (OpenTracks): “Caravan” by しゃろう; “ミスト” by 稿屋 隆; “新しい朝、風に乗って” by 蒲鉾さちこ; “露草” by MATSU
- Sound effects: Freesound (CC0)
- Illustrations: generated with ChatGPT (a story based on records of the time; Iddin and his villagers are fictional)
- Fonts: Noto Sans JP, Shippori Mincho, M PLUS Rounded 1c (SIL Open Font License)
