Sixth king of the First Babylonian Dynasty who unified Mesopotamia and codified the Code of Hammurabi, one of the earliest and most complete surviving written legal codes.