Urnammu in Wikipedia
Ur-Nammu (or Ur-Namma, Ur-Engur, Ur-Gur, ca. 2047-2030 BC short chronology) founded the Sumerian 3rd dynasty of Ur, in southern Mesopotamia, following several centuries of Akkadian and Gutian rule. He was succeeded by his son Shulgi, after an eighteen-year reign. His death on the battle-field against the Gutians (after he had been abandoned by his army) was commemorated in a long Sumerian poetic composition.
His main achievement was state-building, and Ur-Nammu is chiefly remembered today for his legal code, the Code of Ur-Nammu, arguably the oldest surviving example in the world. He was also responsible for ordering the construction of a number of stepped temples, called ziggurats, including the Great Ziggurat of Ur.  Among his military exploits were the conquest of Lagash and the defeat of his former masters at Uruk. He was eventually recognized as a significant regional ruler (of Ur, Eridu, and Uruk) at a coronation in Nippur, and is believed to have constructed buildings at Nippur, Larsa, Kish, Adab, and Umma. He was known for restoring the roads and general order after the Gutian period.
Year-names are known for 17 of his 18 years, but their order is uncertain. One year-name of his reign records the devastation of Gutium, while two years seem to commemorate his legal reforms: "Year in which Ur-Nammu the king put in order the ways (of the people in the country) from below to above", and "Year Ur-Nammu made justice in the land".