When Hammurabi became king in 1792 B.C., Babylon wasn’t a match for its rival to the south, Larsa, whose King Rim Sin I had defeated Hammurabi’s father in battle. But Hammurabi quickly set about strengthening his city-state. He became the first Babylonian king to erect protective walls around the city, according to historian Susan Wise Bauer. At the same time, Hammurabi made sure to ingratiate himself with his subjects, issuing a proclamation that canceled all their debts—a gesture that he would repeat four times in the course of his reign.
Like a modern governor or senator who boosts his popularity by getting roads repaired and bridges built in his home state, Hammurabi further strengthened himself politically by embarking upon a succession of massive infrastructure projects. He built temples, granaries and palaces, constructed a bridge across the Euphrates River that allowed the city to expand on both banks, and dug a great irrigation canal that also protected land from floods.
The investments he made paid off, as Babylon gradually developed into a wealthy, prosperous place. But Hammurabi also made sure everybody knew he was responsible for all of the good fortune. When he built his canal, for example, he made sure everyone knew that he was only keeping up his obligation to the gods, who had entrusted him with the land.
“Its banks on both sides I turned into cultivated ground,” Hammurabi proclaimed, according to historian Will Durant’s The Story of Civilization. “I heaped up piles of grain, I provided unfailing water for the lands…The scattered people I gathered with pasturage and water I provided them, I pastured them with abundance, and settled them in peaceful dwellings.”
After several decades of building up Babylon, Hammurabi was strong enough that he could embark on wars of conquest, as Stephen Bertman writes in the Handbook to Life in Ancient Mesopotamia. In quick succession, he moved on Eschnunna in the east, Assyria to the north, Larsa to the south and Mari in the west.
Hammurabi had a deft, though duplicitous, way of combining force and diplomacy, As the Ancient History Encyclopedia details, he would form alliances with other rulers, and then break them whenever it was convenient to do so.
He also waged warfare in devious ways. One of his tricks was to dam up a rival city’s water supply. Then he would either use thirst to pressure its leaders into surrendering, or else suddenly release the waters and cause a devastating flood that would soften his target for his attack.
Code of Hammurabi Remains a Legal Model