 The African Berber units sent to besiege Palermo captured it in September 831 after a year-long siege.Palermo, renamed al-Madinah, became the Muslim capital of Sicily.In February 832, Ziyadat Allah sent his cousin Abu Fihr Muhammad ibn Abd-Allah to the island and appointed him as the "wāli" of Sicily.