The Fatimids expelled the city in 927 and took the Idrissids , after which their Miknasa were installed there .
The Fatimids took the city in 927 and expelled the Idrissids , after which their Miknasa were installed there .