miles with armed retainers, who theoretically owed allegiance through a Count to the Emperor or, with less fealty, to his Carolingian and Ottonian successors. Such territory had a catlá ("castellan" or lord of the castle) in an area largely defined by a day's ride, and the region became known, like Castile at a later date, as "Catalunya". Counties in the Pyrenees that appeared in the 9th century, in addition to the County of Barcelona, included Cerdanya, Girona and Urgell. In the early ninth century, Charlemagne issued his new kind of land grant, the aprisio, which redisposed land belonging to the Imperial fisc in deserted areas, and included special rights and immunities that resulted in a range of independence of action. Historians interpret the aprisio both as the basis 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 in defense of the Frankish frontier. Aprisio grants (the first ones were in Septimania) emanated directly from the Carolingian king, and they reinforced central loyalties, to counterbalance the local power exercised by powerful marcher counts. But communications were arduous, and the power centre was far away. Primitive feudal entities developed, self-sufficient and agrarian, each ruled by a small hereditary military elite. The sequence in Catalonia exhibits a pattern that emerges similarly in marches everywhere. The Count is appointed by the king (from 802), the appointment settles on the heirs of a strong count (Sunifred) and the appointment becomes a formality, until the position is declared hereditary (897) and then the County declares itself independent (by Borrell II in 985). At each stage the de facto situation precedes the de jure assertion, which merely regularizes an existing fact of life. This is feudalism in the larger landscape. Certain of the Counts aspired to the characteristically Frankish (Germanic) title "Margrave of the Hispanic March", a "margrave" being a graf ("count") of the march. The early History of Andorra provides a fairly typical career of another such buffer state, the only modern survivor in the Pyrenees of the Hispanic Marches. Marches set up by Charlemagne The Danish March (sometimes regarded as just a series of forts rather than a march) between the Eider and Schlei rivers, against the Danes; the Saxon or Nordalbingen march between the Eider and Elbe rivers in modern Holstein, against the