However, starting from the 8th to 9th century the city was abandoned because it was too exposed to attacks by Moorish pirates.
But in the 8th to 9th centuries, the city fell into disuse because of its susceptibility to attacks by Moorish pirates.