Final answer:
Hammurabi, a Babylonian king, created one of the earliest written law codes known as the Code of Hammurabi, which detailed various aspects of daily life and focused on fairness and justice within society.
Step-by-step explanation:
One of the earliest written law codes was created by Hammurabi, a Babylonian king who ruled from about 1792 to 1750 BCE. His laws, known as the Code of Hammurabi, were extensive and covered various aspects of daily life ranging from inheritance to murder. The Stele of Hammurabi, a stone monument inscribed with these laws, not only detailed the responsibilities and rights of the citizens but also focused on fairness and justice within the Babylonian society. Hammurabi's code had lasting influence, with remnants visible in legal systems for centuries afterwards, and it represents an early form of the principles upon which modern laws are based.