Why was the Code of Hammurabi Important?

The Hammurabi Code is important because it resembles the laws of Moses. It is also said to be the oldest written laws that have been discovered.