The Code of Hammurabi Author:Leonard William King The Code Of Hammurabi is the earliest known written set of laws ever discovered. They were written on an eight foot tall piece of black basalt and were found in ancient Mesopotamia (Iraq). The code contains details of crimes and their punishments as well as settlements for disputes and guidelines on how a civilian should behave.