Hammurabi (died 1750 BC in Babylon) was the sixth king of the First Babylonian Dynasty, reigning from 1792 BC to 1750 BC (according to the Middle Chronology). He was preceded by his father, Sin-Muballit, who abdicated due to failing health. He extended Babylon's control throughout Mesopotamia through military campaigns. Hammurabi is known for the Code of Hammurabi, one of the earliest surviving codes of law in recorded history. The name Hammurabi derives from the Amorite term ʻAmmurāpi ("the kinsman is a healer"), itself from ʻAmmu ("paternal kinsman") and Rāpi ("healer").