Plagued by internal instability and attacked by various migrating peoples, the western part of the empire broke up into independent barbarian kingdoms in the 5th century. The eastern part of the empire remained a power through the Middle Ages until its fall in 1453 AD.