D.
Explanation: The Code of Hammurabi is a well-preserved Babylonian code of law of ancient Mesopotamia, and consists of 282 rules. Its fines/punishments were based on the law of retribution, a form of retaliatory justice commonly associated with the saying “an eye for an eye”.
Hammurabi's Code is one of the most famous examples of the ancient precept of “lex talionis,” or law of retribution, a form of retaliatory justice commonly associated with the saying “an eye for an eye.