 In 852, the Saracens took Bari and founded an emirate there.Islamic rule over Sicily was effective from 902, and the complete rule of the island lasted from 965 until 1061.The turn of the millennium brought about a period of renewed autonomy in Italian history.