The Goths were a Germanic people who played a major role in the fall of the Western Roman Empire and the emergence of medieval Europe. They were first mentioned by Graeco-Roman authors in the 3rd century AD, living north of the Danube in what is now Ukraine, Moldova, and Romania. From here they conducted raids into Roman territory, and large numbers of them joined the Roman military. These early Goths lived in the regions where archaeologists find the Chernyakhov culture, which flourished throughout this region during the 3rd and 4th centuries.
In the late 4th century, the lands of the Goths in present-day Ukraine were overwhelmed by a significant westward movement of Alans and Huns from the east. Large numbers of Goths subsequently began to concentrate near the Roman border at the Lower Danube, seeking refuge within the Roman Empire. Their entry into the Empire resulted in violence, and Goth-led forces inflicted a devastating defeat upon the Romans at the Battle of Adrianople in 378. Roman forces regained a level of control but many Goths and other eastern peoples were quickly settled in and near the empire. One of these groups, initially led by their king Alaric I, sacked the city of Rome in 410, they were the precursors of the Visigoths. The successors of the Visigoths eventually established a Visigothic Kingdom in Spain at Toledo. Meanwhile, Goths under Hunnic rule gained their independence in the 5th century, most importantly the Ostrogoths. Under their king Theodoric the Great, these Goths established the Ostrogothic Kingdom in Italy at Ravenna.