Hammurabi was the sixth king of the First Amorite Dynasty of Babylon, reigning from approximately 1792 to 1750 BCE. He is best known for his Code of Hammurabi, one of the earliest and most complete written legal codes in history. During his reign, he conquered much of Mesopotamia, including city- states like Larsa, Eshnunna, and Mari, bringing a large territory under Babylonian control. The Code of Hammurabi emphasized physical punishments and established the presumption of innocence, influencing later legal systems including those in the Bible. Hammurabi was also regarded as a god in his lifetime and has been revered throughout history as a great lawgiver and conqueror.