Hammurabi was a king of Babylon, but he wanted to rule the entire area of Mesopotamia. After only five years of being king, Hammurabi reached his goal. Hammurabi changed Mesopotamia in many ways.