The County of Aragon () or County of Jaca () was a small Frankish marcher county in the central Pyrenean valley of the Aragon river, comprising Ansó, Echo, and Canfranc and centered on the small town of Jaca (Iacca in Latin and Chaca in Aragonese), an area now part of Spain. It was created by the Carolingians late in the 8th or early in the 9th century, but soon fell into the orbit of the Kingdom of Navarre, into which it was absorbed in 922. It would later form the core of the 11th century Kingdom of Aragon. Carolingian rule Originally intended to protect the central Pyrenean passes from the Moors in the same way that the Duchy of Vasconia and the Marca Hispanica were to protect the west and east, Aragon remained largely out of the reach of its nominal Carolingian lords, though it was an expressly Frankish creation and not an ethnically distinct region. The earliest attested local ruler was Oriol (807), probably Frankish, Visigothic or Hispano-Roman. That Aragon was a combined creation of Frankish efforts at Reconquest and the activity of the local Hispano-Visigothic elite to unite the rural populace against the Moors of the Ebro valley seems assured. In the first half of the 9th century, under the strong Carolingians, such as Charlemagne, the county of Aragon was culturally oriented northwards, across the important passes at Echo and Canfranc. The monastery of San Pedro de Siresa, founded about that time, was a Benedictine house nourished by the reforms of Benedict of Aniane. The cultural endowment of the monastery was extensive; by 848 its collection of manuscripts included Vergil, Horace, Juvenal, Porphyry, Aldhelm, and Augustine of Hippo's De Civitate Dei. Navarrese rule In the later 9th century, the Carolingians ceased to be powerful sovereigns in the outlying regions of their empire and the Moors of the Ebro valley simultaneously ceased being a threat to the Christian population to their north. As Carolingian influence waned, the counts of Aragón sought new allies. In 820 Charlemagne's vassal, Count Aznar I, was ejected from the county by his son-in-law García 'the Bad', who rode to power on the back of troops supplied by Íñigo Arista, ruler of the fledgling Kingdom of Pamplona. He then repudiated his wife in order to marry Íñigo's daughter. In 844, Aznar's son Galindo was forced to make himself a vassal of Íñigo in order to