Pictographic writing was developed by the ancient Sumerians around 3000 BCE and was the first written system used in Mesopotamia. It consisted of angular and wedged symbols and became the dominant script in the Near East for over 3000 years. The Sumerian tablets also contained some of the earliest recorded religious texts and information about trade, production, and history. Metallurgy emerged after 4000 BCE and the use of metals like copper and bronze replaced stone and bone tools, leading to improvements in technology and agriculture. The Code of Hammurabi established one of the first written legal systems around 1780 BCE in ancient Babylon and protected individuals from arbitrary rule through a set of explicit laws. The introduction of iron around 2000