 This was probably chiefly due to internal turmoil in Muslim Sicily, with six governors reported as having taken office during this period, as well as the weakness of the Aghlabid government on the Ifriqiyan mainland.In Italy, Muslim raids continued, but the Byzantines had a major success in 875 or 876, after the death of Louis II, when they took possession of Bari.In 875, the unwarlike and pleasure-loving Aghlabid emir Muhammad II ibn Ahmad (r. 864–875) died, and was succeeded by his more energetic brother, Ibrahim II (r. 875–902).