Hammurabi was the sixth king of the Amorite First Dynasty of Babylon, assumed the throne from his father, Sin-Muballit, and expanded the kingdom to conquer all of ancient Mesopotamia<span>.
</span><span>The code of Hammurabi have helped Hammurabi maintain and consolidate his power </span>spent a considerable amount of time on campaign because he made sure to provide for the people whose lands he ruled over. A popular title applied to Hammurabi in his lifetime was bani matim, 'builder of the land', because of the many building projects and canals he ordered constructed throughout the region.
The overthrow of a government or president by citizens who had been governed is called impeachment or a revolution. Hope this helps! :)