This process was given definitive impetus with the separation of the County of Barcelona from the Carolingian Empire in 988.