The Alans (Latin: Alani) were an ancient and medieval Iranic nomadic pastoral people who migrated to what is today North Caucasus; some continued on to Europe and later North Africa. They are generally regarded as part of the Sarmatians, and possibly related to the Massagetae. Modern historians have connected the Alans with the Central Asian Yancai of Chinese sources and with the Aorsi of Roman sources. Having migrated westwards and becoming dominant among the Sarmatians on the Pontic–Caspian steppe, the Alans are mentioned by Roman sources in the 1st century CE. At that time they had settled the region north of the Black Sea and frequently raided the Parthian Empire and the South Caucasus provinces of the Roman Empire. From 215 to 250 CE the Goths broke their power on the Pontic Steppe, thereby assimilating a sizeable portion of the associated Alans.
Upon the Hunnic defeat of the Goths on the Pontic Steppe around 375 CE, many of the Alans migrated westwards along with various Germanic tribes. They crossed the Rhine in 406 along with the Vandals and Suebi, settling in Orléans and Valence. Around 409 they joined the Vandals and Suebi in crossing the Pyrenees into the Iberian Peninsula, settling in Lusitania and Hispania Carthaginensis. The Iberian Alans, soundly defeated by the Visigoths in 418, subsequently surrendered their authority to the Hasdingi Vandals. In 428 CE, the Vandals and Alans crossed the Strait of Gibraltar into North Africa, where they founded a kingdom which lasted until its conquest by forces of the Byzantine Emperor Justinian I in 534.