Both Hammurabi and Moses recorded a complex system of laws which were unique to their times. Hammurabi claimed to receive his code from the Babylonian god of justice, Shamash. Moses received God's Law atop Mount Sinai directly from Jehovah, the God of the Israelites.