The Visigoths (; ) were an early Germanic people who, along with the Ostrogoths, constituted the two major political entities of the Goths within the Roman Empire in late antiquity, or what is known as the Migration Period. The Visigoths emerged from earlier Gothic groups, including a large group of Thervingi, who had moved into the Roman Empire beginning in 376 and had played a major role in defeating the Romans at the Battle of Adrianople in 378. Relations between the Romans and the Visigoths varied, with the two groups making treaties when convenient, and warring with one another when not. Under their first leader, Alaric I, the Visigoths invaded Italy and sacked Rome in August 410. Afterwards, they began settling down, first in southern Gaul and eventually in Hispania, where they founded the Visigothic Kingdom and maintained a presence from the 5th to the 8th centuries AD. The Visigoths first settled in southern Gaul as foederati to the Romans, a relationship that was established in 418. However, they soon fell out with their Roman hosts (for reasons that are now obscure) and established their own kingdom with its capital at Toulouse. They next extended their authority into Hispania at the expense of the Suebi and Vandals. During their governance of Hispania, the Visigoths built several churches that survived, and left many artifacts which have been discovered in increasing numbers by archaeologists in recent years. The Treasure of Guarrazar of votive crowns and crosses are the most spectacular. In 507, however, their rule in Gaul was ended by the Franks under Clovis I, who defeated them in the Battle of Vouillé. After that, the Visigoth kingdom was limited to Hispania, and they never again held territory north of the Pyrenees other than Septimania, where an elite group of Visigoths came to dominate governance, particularly in the Byzantine province of Spania and the Kingdom of the Suebi. In or around 589, the Visigoths under Reccared I converted from Arianism to Nicene Christianity, gradually adopting the culture of their Hispano-Roman subjects. Their legal code, the Visigothic Code (completed in 654), abolished the longstanding practice of applying different laws for Romans and Visigoths. Once legal distinctions were no longer being made between Romani and Gothi, they became known collectively as Hispani. In the century that followed, the region was dominated by the Councils of Toledo and the episcopacy, and little else is known