The Code of Hammurabi is a block of black basalt nearly two and a half metres tall, carved with 282 laws in cuneiform script and topped by a relief of the Babylonian king Hammurabi standing before the sun god Shamash. It is the longest and best-preserved law code to survive from the ancient Near East, and it is one of the foundational documents of human law.
The laws are arranged in cases - "if a man does X, then Y" - and they cover contracts, property, debt, marriage, inheritance, adoption, assault, agriculture and slavery. They are not a modern code: penalties vary according to the social status of the parties, and the famous principle of "an eye for an eye" applies only between equals. The prologue and epilogue present Hammurabi as a king chosen by the gods to bring justice to the land, and the whole monument was probably displayed in a temple rather than used as a working legal manual.
The stele was carried off to Susa in Iran as war booty by an Elamite king in the twelfth century BC, and it was found there in 1901 by a French expedition led by Jacques de Morgan. It was published the following year and translated into French, English and German within a decade, becoming one of the most widely read ancient texts in the world.