What is Hammurabi Code?

Hammurabi code is the first law of the land in ancient Babylon.It is written in Rosetta stone. The purpose of writing the law in the stone in order to preserved and pass to the next generation of Babylonians.