A complicated power struggle ensued in the 930s. Al-Qasim, who ruled parts of the north of the country, initially sided with the Fatimids against the renegade Fatimid general Musa ibn Abi'l-Afiya.
During the 930s, a complex struggle for dominance took place. Al-Qasim, ruling parts of the north, initially supported the Fatimids against the renegade Fatimid general Musa ibn Abi'l-Afiya.