||This article relies largely or entirely upon a single source. (August 2009)|
The Marca Hispanica (Spanish: Marca Hispánica, Catalan: Marca Hispànica, Aragonese and Occitan: Marca Hispanica, Basque: Hispaniako Marka, French: Marche Hispanique), also known as Spanish March or March of Barcelona was a buffer zone beyond the province of Septimania, created by Charlemagne in 795 as a defensive barrier between the Umayyad Moors of Al-Andalus and the Frankish Kingdom.
In its broader meaning, Marca Hispanica refers to a group of early Iberian lordships or counts created by the Franks, of which Andorra is the sole autonomous survivor. As time passed, these lordships merged or gained independence from Frankish imperial rule.
Geographical context 
The area broadly corresponds to the region between the Pyrenees and the Ebro River. The local population of the March was diverse, including Iberians, Basques, Jews and Goths who had been conquered or subjugated by the Muslim emirate to the south or the Frankish Empire to the north. The territory changed with the fortunes of the Empires and the feudal ambitions of those, whether the Counts or Walis, appointed to administer the counties. Eventually the rulers and people of the March became autonomous and claimed independence. Out of the welter of counties in the region emerged the principalities of Navarre, Aragon, and Catalonia.
Counties that at various times formed part of the March included: Pamplona, Sangüesa, Jaca, Sobrarbe, Ribagorza, Pallars, Urgell, Cerdanya, Conflent, Roussillon, Vallespir, Perelada, Empúries, Besalú, Ausona (Osona), Barcelona and Girona.
The Marca Hispanica resulted from the expansion south of the Frankish realm from their heartland in Neustria and Austrasia starting with Charles Martel in 732 and after various decades fighting between the Franks and Muslims (Moors) in the Iberian Peninsula.
The Muslim invasions reached the Pyrenees in the Iberian Peninsula. In 719 the forces of Al-Samh ibn Malik surged up the east coast, overwhelming the remaining Visigoth province of Septimania and establishing a fortified base at Narbonne. Control was secured by offering the local population generous terms, inter-marriage between ruling families or treaties. Further expansion was halted by defeat in the Battle of Toulouse. Wālis were installed in Girona and Barcelona.
The Muslim forces however continued to raid their Gaul neighbours to the north, reaching as far as Autun. Peace was signed in 730 between the victor at Toulouse, the Duke of Aquitaine, and 'Uthman ibn Naissa (Munuza), a Berber rebel lord stationed in Cerdanya (maybe current day Catalonia), a region that could act as a buffer state against Umayyad expansionism. The peace treaty was sealed with the marriage of the Duke’s daughter to Munuza. However, Munuza was defeated by a Umayyad military expedition (731) and another period of Muslim expansion commenced.
Aquitaine (including the Duchy of Vasconia) pledged formal allegiance to the Frankish leaders several times (Odo in 732, Hunald in 736 after being defeated), but remained actually independent. In 737 Charles led an expedition to the Lower Rhone and Septimania, maybe seeing that the Umayyad thrust was threatening his grip on Burgundy, but didn´t manage to subjugate and keep the region.
Both Aquitaine and Septimania were still out of central Frankish control after Charles's death, but Pepin the Short was determined to subdue southern Gaul. In 759, after conquering Septimania from the Umayyad, the Carolingian king focused all his might in crashing Aquitanian resistance to central Frankish power. After a ruthless war of 8 years, Aquitainian independence came to an end. Toulouse was now under the grip of the new Carolingian king Charlemagne and access to Andalusian Hispania was open for him, despite sporadic rebellions in Vasconia during the next two decades (Basques subdued in 790 by Charlemagne´s new loyal strongman in Toulouse William of Gellone).
Pippin's son, Charlemagne, fulfilled the Carolingian goal of extending the defensive boundaries of the empire beyond Septimania, creating a strong barrier state between the Umayyad Emirate/Caliphate of Iberia and the Frankish Empire, besides tightening control over the Duchy of Vasconia by establishing the Kingdom of Aquitaine ruled by his son Louis the Pious in 781.
The Franks created the Marca Hispanica by conquering former north-eastern territory of the Visigothic kingdom of Hispania, which had been conquered by the Muslims.
The first county to be conquered was Roussillon (with Vallespir) in around 760. In 785 the county of Girona (with Besalú) to the south of the Pyrenees was taken. Ribagorza and Pallars were linked to Toulouse and were added to this county around 790. Urgell and Cerdanya were added in 798. The first records of the county of Empúries (with Perelada) are from 812 but the county was probably under Frankish control before 800.
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. Pamplona (and Sangüesa) were briefly controlled by the Franks until 817, when it was lost to Basque and Christian Iberian forces. The date Sobrarbe was incorporated into the March is unsure.
After the loss of Pamplona (817) and Aragón (820) the March was often called Gothia after the Visigoth population. In addition, as the Counts often held land in Septimania, the whole region was sometimes referred to as Septimania.
The local population of the Marches was diverse including Hispano-Romans, Iberians, Basques, Jews and Goths who had been conquered or subjugated by the Muslim or Frankish Empires to the north and south. The area changed with the fortunes of the Empires and the feudal ambitions of the Counts or Walis appointed to administrate the Counties. As Frankish imperial power waned, the rulers of the March became independent fiefs. The region would later become part of the principalities of Navarre, Aragon, and Catalonia.
Charlemagne's son Louis took Barcelona from its Moorish ruler in 801, thus securing Frankish power in the borderland between the Franks and the Moors. The Counts of Barcelona then became the principal representatives of Frankish authority in the Spanish March. The March included various outlying smaller territories, each ruled by a lesser Miles with his armed retainers and who theoretically owed allegiance through the Count to the Emperor. The rulers were called Counts; when they governed several Counties they often took the name Duke. When the County formed the border with the Muslim Kingdom, the Frankish title Marquis was chosen.
In the early 9th century, Charlemagne began issuing a new kind of land grant, the Aprisio, which reallocated land previously held by the imperial crown fisc in deserted or abandoned areas. This included special rights and immunities that allowed considerable independence from the imperial control. Historians have interpreted the aprisio both as an early form of feudalism and in economic and military terms as a mechanism to entice settlers to a depopulated border region. Such self-sufficient landholders would aid the Counts in providing armed men to defend the Frankish frontier. Aprisio grants (the first ones were in Septimania) were given personally by the Carolingian king, so that they reinforced loyalty to central power, to counterbalance the local power exercised by the Marcher Counts.
However poor communications and a distant central power allowed basic feudal entities to develop often self-sufficient and heavily agrarian. Each was ruled by a small hereditary military elite. These developments in the territories that later would become Catalonia followed similar patterns in other borderlands and Marches. For example the first Count of Barcelona Bera was appointed by the King in 801), however subsequently strong heirs of Counts were able to inherit the title such as Sunifred, fl. 844–848. This gradually became custom until Countship became hereditary (for Wifred the Hairy in 897). The County became de facto independent under count Borrell II, when he ceased to request royal charters after the Frankish kings Lothair and Hugh Capet failed to assist him in the defense of the County against Muslim leader al-Mansur, although the change of dynasty may have played a part in that decision.
Certain Counts aspired to the Frankish (Germanic) title "Prince of Gothia". A "Margrave" is a Graf ("Count") of the March. The early History of Andorra in the Pyrenees provides a fairly typical example of a lordship of the region, and is the only modern survivor of the Spanish March that has not been incorporated into either France or Spain.
- Reuter, Timothy; MacKitterick, Rosamond, eds. (1995). The New Cambridge Medieval History III: c. 900 – c. 1024. Cambridge University Press. pp. 390–391. ISBN 978-0-521-36447-8.
- Ian Meadows, "The Arabs in Occitania"
- Archibald R. Lewis, "The Development of Southern French and Catalan Society, 718–1050"