Umayyad conquest of Hispania
It effectively succumbed to the Arab (Muslim) conquest in the 8th century and was probably suppressed, its territory being (rather nominally) returned to the Diocese of Barcelona. The Marian cathedral continued to exist until 718, when it was taken over during the Umayyad conquest of Hispania, but was rebuilt in the 12th century, and remains part of a monumental complex of ancient Visigothic-Romanesque churches of Sant Pere de Terrassa and Sant Miquel on the site.