of the catastrophe, but was the first Exarch to experience a weakened Ravenna. Theophylact possibly moved back to Sicily after he retired from the Exarchate in 709. Theophylact might have also been the Strategos of Sicily from 700 to 710. The Strategos of Sicily was also able to exercise some control over the autonomous duchies of Naples, Gaeta and Amalfi, depending on the local political situation or faction at the time. The Aghlabid invasions were in part caused by the Byzantine-Sicilian military commander Euphemius, who invited the Aghlabids to aid him in his rebellion against the imperial governor of Sicily in 826 AD. A similar situation happened a century prior, when the imperial governor of Sicily (Sergios), had declared a Byzantine official from Constantinople by the name of Basil Onomagoulos (regnal name Tiberius) as rival emperor, when false news reached Sicily that Constantinople had fallen to the Umayyads. When Emperor Leo the Syrian sent an administrative official named Paul to Sicily, the people and army of Syracuse surrendered Basil and his rebels up to him, leading to the beheading of Basil, while the former governor Sergios was able to escape to the parts of Mainland Italy controlled by the Lombards. Another rebellion took place between the years 781–793, when the aristocratic governor of Sicily, Elpidius, was accused of conspiring against Empress Irene in favour of Nikephoros. After Elpidius's forces were militarily defeated by Empress Irene's large fleet dispatched in Sicily, he, along with his lieutenant, the dux of Calabria named Nikephoros, defected to the Abbasid Caliphate, where he was posthumously acknowledged as rival emperor. After losing another military expedition, this time against Asia Minor with the help of the Abbasids, he advised the Abbasid Emir of Mesopotamia, Abd al-Malik ibn Salih, to "throw away his silk and put on his armour", warning him against the aggressive new reign of Nikephoros I. The Muslim conquest was a see-saw affair; the local population resisted fiercely and the Arabs suffered considerable dissension and infighting among themselves during this process. Not until 965 was the island's conquest successfully completed by the Fatimid Caliphate, with Syracuse in particular resisting almost to the end (Siege of Syracuse (877-878)). Jawhar the Sicilian, the Fatimid general of Slavic origins that led the conquest of Egypt, under Caliph Al-Mu'izz li-Din Allah, was born and grew up in Ragusa, Sicily. Jawhar served as viceroy of Egypt until 973, consolidating Fatimid