 During this time, the Aghlabids were too preoccupied with their rivalry with the Idrisids to the west to plan any serious assault on Sicily.Instead, there are testimonies of commercial traffic between Sicily and Ifriqiya, and of the presence of Arab traders on the island.The occasion for the invasion of Sicily was provided by the rebellion of the "tourmarches" Euphemius, commander of the island's fleet.