This is the brief history of The Code of Ur Nammu.

The earliest known civilisation arose in Mesopotamia, which today encompasses Iraq, Syria, and southeastern Turkey. The Akkadian Empire, ruled by King Sargon, arose initially, around 2350 BCE. King Ur-Nammu then unified the Sumerians and Akkadians, establishing the Third Dynasty of Ur, which ruled until around 2004 BCE.
Ur-Nammu’s most important legacy is the Code of Ur-Nammu, which influenced the codes of two subsequent kings, Lipit-Ishtar (c. 1930 BCE) and Hammurabi (c. 1792 BCE), as well as the Code of Eshnunna, a city in northern Mesopotamia, according to Klaas Veenhof, an eminent scholar of Babylonia and Assyria (c. 1800 BCE).