Banu Qasi
Following a failed expedition to the town led by Louis the Pious around 812, allegiance to the Franks collapsed after Enecco Arista rose to prominence. Moreover, he was crowned as king of Pamplona in 824, when the Banu Qasi and he gained momentum in the wake of their victorious second battle of Roncevaux. The new kingdom, inextricably linked to the Banu Qasi of Tudela, strengthened its independence from the weakened Frankish empire and Cordoban emirate.