How did the abbasid hold on to power?

they go govern it with the caliphs