Answer: Earlier Sumerian law codes had focused on compensating the victim of the crime, but the Code of Hammurabi instead focused on physically punishing the perpetrator.
Explanation: The Code of Hammurabi was one of the first law codes to place restrictions on what a wronged person was allowed to do in retribution.