 Though ready to conquer the whole island, the expedition was forced to return to Tunisia by a Berber revolt.A second attack in 752 aimed only to sack Syracuse again.In 805, the imperial patrician of Sicily, Constantine, signed a ten-year truce with Ibrahim I ibn al-Aghlab, Emir of Ifriqiya, but this did not prevent Arab fleets from other areas of Africa and Spain from attacking Sardinia and Corsica from 806–821.