 Isma'il died in 962, however, allowing Ibrahim to occupy Azerbaijan.He then invaded Tarum and forced Wahsudan to flee to Dailaman.In 966 Ibrahim was defeated by an army of Wahsudan's and his soldiers subsequently deserted him.