The barbarian kingdoms were states founded by various non-Roman, primarily Germanic, peoples in Western Europe and North Africa following the collapse of the Western Roman Empire in the 5th century CE. The barbarian kingdoms were the principal governments in Western Europe in the Early Middle Ages. The time of the barbarian kingdoms is considered to have come to an end with Charlemagne's coronation as emperor in 800, though a handful of small Anglo-Saxon kingdoms persisted until being unified by Alfred the Great in 886.
The formation of the barbarian kingdoms was a complicated, gradual, and largely unintentional process. Their origin can be traced to the Roman state failing to handle barbarian migrants on the imperial borders, which led to both invasions and invitations into imperial territory from the 3rd century onwards. Despite an increasing influx of barbarians, the Romans simultaneously denied them the ability to properly integrate into the imperial framework. Barbarian rulers were at first local warlords and client kings without firm connections to any territory. Their influence only increased as Roman emperors and usurpers began to use them as pawns in civil wars. The barbarian realms only transitioned into proper territorial kingdoms after the collapse of effective Western Roman central authority.