What was the Code of Hammurabi?

The Code of Hammurabi was the law of ancient Babylon, created around 1790 BC. One law featured on the giant basalt tablet can be translated to read, ‘If a man kills another man’s son, his son shall be cut off.’