the establishment of the monastery was difficult because of raids by moors from the south and west and the norsemen from the north. the abbey was sacked by the arabs of al-andalus twice around 732 and was looted in the 9th century by norman pirates and in the 10th century by hungarians.