Ur-Nammu's Law Code and the Third Dynasty of Ur
Three centuries before Hammurabi, a Sumerian king wrote down the oldest surviving body of law and raised the Great Ziggurat
Quick facts
- Ur-Nammu's reign
- c. 2112-2095 BCE
- Law code
- Code of Ur-Nammu, oldest known written law code
- Key monument
- Great Ziggurat of Ur
- Successor
- Shulgi, reign c. 2094-2046 BCE
What happened
Ur-Nammu, governor of Ur, cleared the Gutians from Mesopotamia and founded the Third Dynasty of Ur, known as Ur III, ushering in a period later remembered as the Sumerian Renaissance. During his reign, roughly 2112 to 2095 BCE, he issued the Code of Ur-Nammu, the oldest surviving written law code in the world, predating Hammurabi's more famous code by around three centuries. Ur-Nammu also began construction of the Great Ziggurat of Ur, a stepped temple platform dedicated to the moon god Nanna, completed under his son and successor Shulgi, who ruled from roughly 2094 to 2046 BCE and centralized the state's bureaucracy further, introducing standardized administration and making literacy a personal priority.
Why it matters
The Code of Ur-Nammu establishes that the idea of a ruler publishing written law for his subjects to see, rather than ruling purely by decree or custom, predates Hammurabi by centuries; Hammurabi's later code should be understood as the most famous example of a much older Mesopotamian legal tradition, not its origin point. The Great Ziggurat became the physical template that later Mesopotamian ziggurats, including Babylon's Etemenanki, followed.
How we know
Fragments of the Code of Ur-Nammu survive on cuneiform tablets, and the Great Ziggurat's remains, partially reconstructed, still stand in Iraq near Nasiriyah, letting archaeologists study its stepped mudbrick construction directly.
Sources
- World History Encyclopedia. Code of Ur-Nammu: The Oldest Law Code in the World · Reputable sourceworldhistory.org · The domain "worldhistory.org" is on our Reputable source registry. · Link is live and its text matches the event's key terms (Jul 2026)
- World History Encyclopedia. Third Dynasty of Ur (Ur III) · Reputable sourceworldhistory.org · The domain "worldhistory.org" is on our Reputable source registry. · Link is live and its text matches the event's key terms (Jul 2026)
See something wrong? . Corrections with a source get fixed fastest.
Part of a timelineAncient Mesopotamia30 events · The land between the rivers where farming villages became cities, cuneiform became writing, and kings first wrote their laws downView all →