Hammurabi is best known for having issued the Code of Hammurabi, which he claimed to have received from Shamash, the Babylonian god of justice. Unlike earlier Sumerian law codes, such as the Code of Ur-Nammu, which had focused on compensating the victim of the crime, the Law of Hammurabi was one of the first law codes to place greater emphasis on the physical punishment of the perpetrator. It prescribed specific penalties for each crime and is among the first codes to establish the presumption of innocence. Although its penalties are extremely harsh by modern standards, they were intended to limit what a wronged person was permitted to do in retribution. The Code of Hammurabi and the Law of Moses in the Torah contain numerous similarities.