The Visigothic Kingdom ruled Hispania (modern Spain and Portugal) from 416 to 711. It began when the Visigoths, a Germanic people originally from Eastern Europe, were invited by the Romans to expel other barbarian groups from the Iberian Peninsula. Over time, the Visigoths established control over most of Hispania and unified the territory through religious and legal conversions in the 6th-7th centuries. However, internal conflicts and challenges to royal authority weakened the kingdom prior to its conquest by the Umayyad Caliphate in 711.