Code of Ur Nammu
The prologue, typical of Mesopotamian law codes, invokes the deities for Ur-Nammu's kingship and decrees "equity in the land".

"…After An and Enlil had turned over the Kingship of Ur to Nanna, at that time did Ur-Nammu, son born of Ninsun, for his beloved mother who bore him, in accordance with his principles of equity and truth... Then did Ur-Nammu the mighty warrior, king of Ur, king of Sumer and Akkad, by the might of Nanna, lord of the city, and in accordance with the true word of Utu, establish equity in the land; he banished malediction, violence and strife, and set the monthly Temple expenses at 90 gur of barley, 30 sheep, and 30 sila of butter. He fashioned the bronze sila-measure, standardized the one-mina weight, and standardized the stone weight of a shekel of silver in relation to one mina... The orphan was not delivered up to the rich man; the widow was not delivered up to the mighty man; the man of one shekel was not delivered up to the man of one mina."

One mina was made equal to 60 shekels. Among the surviving laws are the following:

1. If a man commits a murder, that man must be killed.
2. If a man commits a robbery, he will be killed.
3. If a man commits a kidnapping, he is to be imprisoned and pay 15 shekels of silver.
4. If a slave marries a slave, and that slave is set free, he does not leave the household.
5. If a slave marries a native (i.e. free) person, he/she is to hand the firstborn son over to his owner.
6. If the wife of a man followed after another man and he slept with her, they shall slay that woman, but that male shall be set free.
7. If a man divorces his first-time wife, he shall pay her one mina of silver.
8. If it is a (former) widow whom he divorces, he shall pay her half a mina of silver.
9. If a man is accused of sorcery he must undergo ordeal by water; if he is proven innocent, his accuser must pay 3 shekels.
10. If a prospective son-in-law enters the house of his prospective father-in-law, but his father-in-law later gives his daughter to another man, the father-in-law shall return to the rejected son-in-law twofold the amount of bridal presents he had brought.
11. If a slave escapes from the city limits, and someone returns him, the owner shall pay two shekels to the one who returned him.
12. If a man knocks out the eye of another man, he shall weigh out ½ a mina of silver.
13. If a man has cut off another man’s foot, he is to pay ten shekels.
14. If a man, in the course of a scuffle, smashed the limb of another man with a club, he shall pay one mina of silver.
15. If someone severed the nose of another man with a copper knife, he must pay two-thirds of a mina of silver.
16. If a man knocks out a tooth of another man, he shall pay two shekels of silver.
17. If a man’s slave-woman, comparing herself to her mistress, speaks insolently to her, her mouth shall be scoured with 1 quart of salt.
18. If a man appeared as a witness, and was shown to be a perjurer, he must pay fifteen shekels of silver.
19. If a man appears as a witness, but withdraws his oath, he must make payment, to the extent of the value in litigation of the case.
20. If a man stealthily cultivates the field of another man and he raises a complaint, this is however to be rejected, and this man will lose his expenses.
21. If a man flooded the field of a man with water, he shall measure out three kur of barley per iku of field.
22. If a man had let an arable field to a(nother) man for cultivation, but he did not cultivate it, turning it into wasteland, he shall measure out three kur of barley per iku of field.