Hammurabi reigned over Babylon and the Babylonian Empire from 1792 BC to 1750 BC. He is well known for establishing civilization through his code of laws, the Code of Hammurabi. He was the sixth king of Babylon, but expanded it by uniting cities. He therefore became the first king of the empire. He first conquered cities towards the south, then his conquest expanded. He publicly respected all the religions in the empire, but they had to follow his code of laws.
Hammurabi did other things in order to make Babylon a better place, such as helping to improve the irrigation process.
Hammurabi ruled until his death in 1750 BC. After his death, the Babylonian Empire collapsed due to the Hittites, led by Mursilis, raiding. Soon after the attack, the Kassites, led by their king Agumkakrine, took over. There were many rebellious cities, but they ruled for 400 years, and respected the code.