Cuneiform law
Cuneiform law refers to any of the legal codes written in cuneiform script, that were developed and used throughout the ancient Middle East among the Sumerians, Babylonians, Assyrians, Elamites, Hurrians, Kassites, and Hittites. The Code of Hammurabi is the most well-known of the cuneiform laws, but there were a number of precursor laws.
Cuneiform
The earliest known Sumerian king whose name appears on contemporary cuneiform tablets is Enmebaragesi of Kish. Surviving records only very gradually become less fragmentary and more complete for the following reigns, but by the end of the pre-Sargonic period, it had become standard practice for each major city-state to date documents by year-names commemorating the exploits of its "lugal" (king).