Emirate of Sicily conquer Castrogiovanni (the modern Enna, where Euphemius died) and retreated back to Mazara. In 830 they received a strong reinforcement of 30,000 Ifriqiyan and Andalusian troops. The Iberian Muslims defeated the Byzantine commander Teodotus in July–August of that year, but again a plague forced them to return to Mazara and then to Ifriqiya. The Ifriqiyan units sent to besiege Palermo managed to capture it after a year long siege in September 831. Palermo became the Muslim capital of Sicily, renamed al-Madinah ("The City"). The conquest was a see-saw affair; with considerable resistance and many internal struggles, it took over a
History of Sicily mainland part (still known as the Kingdom of Sicily as well). The ensuing War of the Sicilian Vespers lasted until the peace of Caltabellotta in 1302, although it was to continue on and off for a period of 90 years. With two kings both claiming to be the King of Sicily, the separate island kingdom became known as the Kingdom of Trinacria. It is this very split that ultimately led to the creation of the Kingdom of the Two Sicilies some 500 years on. "See also: " Peter III's son, Frederick III of Sicily (also known as Frederick II of