After a series of struggles the County of Barcelona (with Ausona) was taken by Frankish forces in 801. A number of castles were established in Aragón between 798 and 802 (appointment of Count Aureolus). After subduing the Basques to the north of the Pyrenees (790), Frankish overlordship expanded to the upper Ebro (794) and Pamplona (798), when Alfonso II of Asturias also came under Charlemagne's influence. Sobrarbe was not incorporated into the Marches, as it appears later in history and was probably within the area of influence of the County of Aragon. The death of Charlemagne (814) was followed by a scene of open revolt and Carolingian setbacks around the Pyrenees. After defeat in Pancorbo, Pamplona,  led by the native Basque lord Iñigo Arista, detached (817) and Aragón ensued (820). The named Catalan counties - territories used by the Moors to enter and overrun Septimania in 719 - became in fact , a natural extension of the March of Gothia ruled by Catalans and Toulousains under the Carolingian Empire.
After a series of struggles the County of Barcelona (with Ausona) was taken by Frankish forces in 801. A number of castles were established in Aragon between 798 and 802 (appointment of Count Aureolus). After subduing the Basques to the north of the Pyrenees (790), Frankish overlordship expanded to the upper Ebro (794) and Pamplona (798), when Alfonso II of Asturias also came under Charlemagne's influence. Sobrarbe was not incorporated into the Marches, as it appears later in history and was probably within the area of influence of the County of Aragon. The death of Charlemagne (814) was followed by a scene of open revolt and Carolingian setbacks around the Pyrenees. After being defeated by the Moors in the 816 Battle of Pancorbo, Pamplona, now led by the native Basque lord Iñigo Arista, broke away from the Hispanic Marches, with the County of Aragon following suit shortly thereafter in 820. The named Catalan counties - territories used by the Moors to enter and overrun Septimania in 719 - became , at this point , a natural extension of the March of Gothia ruled by Catalans and Toulousains under the Carolingian Empire.
R
Aragón
Aragon
R
defeat in
being defeated by the Moors in the 816 Battle of
A
now
R
detached (817) and Aragón ensued (820).
broke away from the Hispanic Marches, with the County of Aragon following suit shortly thereafter in 820.
R
in fact
, at this point