about the Visigoths' history. In 711, an invading force of Arabs and Berbers defeated the Visigoths in the Battle of Guadalete. The Visigoth king, Roderic, and many members of their governing elite were killed, and their kingdom rapidly collapsed. This was followed by the subsequent formation of the Kingdom of Asturias in northern Spain and the beginning of the Reconquista by Christian troops under Pelagius. They founded the only new cities in western Europe from the fall of the Western half of the Roman Empire until the rise of the Carolingian dynasty. Many Visigothic names are still in use in modern Spanish and Portuguese languages. Their most notable legacy, however, was the Visigothic Code, which served, among other things, as the basis for court procedure in most of Christian Iberia until the Late Middle Ages, centuries after the demise of the kingdom. Nomenclature: Vesi, Tervingi, Visigoths The Visigoths were never called Visigoths, only Goths, until Cassiodorus used the term, when referring to their loss against Clovis I in 507. Cassiodorus apparently invented the term based on the model of the "Ostrogoths", but using the older name of the Vesi, one of the tribal names which the fifth-century poet Sidonius Apollinaris had already used when referring to the Visigoths. The first part of the Ostrogoth name is related to the word "east", and Jordanes, the medieval writer, later clearly contrasted them in his Getica, stating that "Visigoths were the Goths of the western country." According to Wolfram, Cassiodorus created this east–west understanding of the Goths, which was a simplification and literary device, while political realities were more complex. Cassiodorus used the term "Goths" to refer only to the Ostrogoths, whom he served, and reserved the geographic reference "Visigoths" for the Gallo-Spanish Goths. The term "Visigoths" was later used by the Visigoths themselves in their communications with the Byzantine Empire, and was still in use in the 7th century. Two older tribal names from outside the Roman empire are associated with Visigoths who formed within the empire. The first references to any Gothic tribes by Roman and Greek authors were in the third century, notably including the Thervingi, who were once referred to as Goths by Ammianus Marcellinus. Much less is known of the "Vesi" or "Visi", from whom the term "Visigoth" was derived. Before Sidonius Apollinaris, the Vesi were first mentioned in the Notitia Dignitatum, a late-4th- or early-5th-century list of