The first written laws of the Visigothic kingdom were compiled during the rule of king Alaric II and were meant to regulate the lives of Romans, who made up the majority of the kingdom and were based on the existing Roman imperial laws and their interpretations.