 He had a tenuous relationship with Andarig, with whom he battled and allied with occasionally.The city was occupied by Shamshi-Adad I, the king of Assur, who put his own son Yasmah-Adad on the throne.Shortly after the death of Shamshi-Adad I, Zimri-Lim returned from exile and was able to oust Yasmah-Adad from power with the help of Yarimlim, the king of Yamhad.