The city was besieged by the Aghlabids for almost a year in 827–828, but Byzantine reinforcements prevented its fall.
Aghlabiidid piirasid linna peaaegu aasta (827–828), kuid Bütsantsi abiväed hoidsid selle langemise ära.