 The Muslims were asked to assist the beleaguered Duchy of Naples against Sicard of Benevento in 839, but then they sacked Brindisi and, following Sicard's murder and the outbreak of civil war in the Principality of Benevento, seized Tarentum in 840 and Bari in 847, which they made their bases.Until well into the 880s, the Muslims would launch destructive raids along the coasts of Italy and into the Adriatic Sea from their bases on the Italian mainland – most notably from the Emirate of Bari, until its destruction in 871.In late 842 or 843, with Neapolitan support, the Muslims conquered Messina.