Muslims attacked Vasconia as well, taking possession of Pamplona for some time, but they were expelled by a rebellion in 798-801 that helped to create the Basque Muslim realm of the Banu Qasi around Tudela. In 806 Pamplona, still under Cordovan rule, was attacked by the Franks; and the Pamplonese, led by a certain Velasco, pledged allegiance to Charlemagne again, but his tenure proved short lived. At about 814, an anti-Frankish faction led by Enecco, allied with the Banu Qasi, seems to have taken over again. A Frankish army was sent to quash the revolt, to little effect. Furthermore, on their way north through Roncevaux an ambush was attempted, but resulted in a stalemate as the Franks had taken Basque women and children hostage.