The Code of Hammurabi is one of the oldest and most vital legal codes in history.


It was written in 1754 BCE by King Hammurabi, who ruled the Babylonian Empire from 1792 to 1750 BCE. The King had the 282 laws written on a stone stele, as he wanted to make them visible to his subjects to establish order and justice throughout his kingdom.


On the stele are 282 laws that cover property rights, family law, contracts, and criminal justice.


They cover the main ideas of: an eye for an eye; punishments aimed to match the crime in a concept called "lex talionis"; social ranks; punishments change based on a person's social class; and daily life; laws covering trade, theft, family, divorce, and wages for workers.


Furthermore, the significance of the Code of Hammurabi lies in its role as a foundational document for the development of legal systems in Mesopotamia.


The Code of Hammurabi wasn't the only foundational legal document of Ancient Mesopotamia; the Code of Ur-Nammu, written in 2100 BCE, and the Code of Lipit-Ishtar, written in 1930 BCE, also influenced laws and protections throughout the civilization.


It served as a model for legal codes that came after and demonstrated the vital importance of written laws to keep social order in place.


Yet, in Ancient Mesopotamia, the laws applied differently to the three main social classes of the Babylonian Empire.


Furthermore, the Code of Hammurabi emphasized the responsibility of the King to protect the weak and give justice to all members of society.


Overall, the Code of Hammurabi helped signify law and order in Mesopotamia, creating an equal society.