region. In 392, the Roman imperial provinces were restructured as Aquitania Prima (north-east), Aquitania Secunda (centre) and Aquitania Tertia, better known as Novempopulania in the south-west. Early Middle Ages Accounts of Aquitania during the Early Middle Ages are imprecise, but there was much unrest. The Visigoths were called into Gaul as foederati, legalizing their status within the Empire. Eventually they established themselves as the de facto rulers in south-west Gaul as central Roman rule collapsed. Visigoths established their capital in Toulouse, but their tenure on Aquitaine was feeble. In 507, they were expelled south to Hispania after their defeat in the Battle of Vouillé by the Franks, who became the new rulers in the area to the south of the Loire. The Roman Aquitania Tertia remained in place as Novempopulania, where a duke was appointed to hold a grip over the Basques (Vascones/Wascones, rendered Gascons in English). These dukes were quite detached from central Frankish overlordship, sometimes governing as independent rulers with strong ties to their kinsmen south of the Pyrenees. As of 660, the foundations for an independent Aquitaine/Vasconia polity were established by the duke Felix of Aquitaine, a magnate (potente(m)) from Toulouse, probably of Gallo-Roman stock. Despite its nominal submission to the Merovingians, the ethnic make-up of the new Aquitanian realm was not Frankish, but Gallo-Roman north of the Garonne and in main towns and Basque, especially south of the Garonne. A united Basque-Aquitanian realm reached its heyday under Odo the Great's rule. In 721, the Aquitanian duke fended Umayyad troops (Sarracens) off at Toulouse, but in 732 (or 733, according to Roger Collins), an Umayyad expedition commanded by Abdul Rahman Al Ghafiqi defeated Odo next to Bordeaux, and went on to loot its way up to Poitiers. Odo was required to pledge allegiance to the Frankish Charles Martel in exchange for help against the advancing Arab forces. Basque-Aquitanian self-rule temporarily came to a halt, definitely in 768 after the assassination of Waifer. In 781, Charlemagne decided to proclaim his son Louis King of Aquitaine within the Carolingian Empire, ruling over a realm comprising the Duchy of Aquitaine and the Duchy of Vasconia. He suppressed various Basque (Gascon) uprisings, even venturing into the lands of Pamplona past the Pyrenees after ravaging Gascony, with a view to imposing his authority also in the Vasconia to south of Pyrenees. According to his biography, he achieved everything he wanted and after