 Nevertheless, he succeeded in gaining the throne of Alalakh with the assistance of a group known as the "Habiru".Idrimi founded the kingdom of Mukish and ruled from Alalakh as a vassal to the Mitanni state.He also invaded the Hittite territories to the north, resulting in a treaty with the country Kizzuwatna.