"Barcino" would remain an important, if provincial, centre of the Visigoth kingdom, notably because of its excellent defensive walls. After the death of Alaric II at the Battle of Vouillé against the Franks in 507, his successor Gesalec (507–511) moved the capital from "Tolosa" to "Barcino". Amalaric (511–531) ruled from "Narbona", but was murdered by his troops in "Barcino", from where his successor Theudis ruled until 548. "Barcino" returned to its role as a provincial centre with the establishment of the Visigoth capital in Toledo by Leovigildus in 573.