Toulouse became the capital of the Visigothic Kingdom in Aquitaine from 418 until they were driven out by the Franks in 511.