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.
Mesopotamia
Early in Mesopotamia's history (around the mid-4th millennium BC) cuneiform was invented for the Sumerian language. Cuneiform literally means "wedge-shaped", due to the triangular tip of the stylus used for impressing signs on wet clay. The standardized form of each cuneiform sign appears to have been developed from pictograms. The earliest texts (7 archaic tablets) come from the É, a temple dedicated to the goddess Inanna at Uruk, from a building labeled as Temple C by its excavators.