 Zimri-Lim ruled Mari for about thirteen years, and campaigned extensively to establish his power in the neighbouring areas along the Euphrates and the Khabur valley.He extended his palace in the city, which was possibly the largest at the time, and certainly the envy of other kings.He was also active on a wider stage, and for a time (perhaps about 1764 BC) was allied with Hammurabi in his wars against Elam, Eshnunna, and Larsa.