 Shortly afterwards Justan and another brother, Nasir, came to Tarum, where they were treacherously imprisoned by Wahsudan, who sent his son Isma'il to take over Azerbaijan.Ibrahim raised an army in Armenia to oppose Isma'il, prompting Wahsudan to execute Justan, his mother and Nasir.Ibrahim was driven out of Azerbaijan by Isma'il, but retained his rule in Dvin.