ancient algeria has known many empires and dynasties including umayyads and spaniards
the umayyads a muslim dynasty based in damascus from 661 to 750 recognised that the strategic necessity of dominating the mediterranean dictated a concerted military effort on the north african front
in 1551 hasan pasha the son of hayreddin defeated the spanishmoroccan armies during a campaign to recapture tlemcen thus cementing ottoman control in western and central algeria