After the collapse of the Hunnic Empire, the Ostrogoths entered relations with the Eastern Roman Empire and were settled in Pannonia to become "foederati" of the Byzantines. During the latter half of the 5th century, the Ostrogoths' relationship with the Byzantines started to shift from friendship to enmity, just like the Visigoths before them, and Ostrogoth King, Theoderic the Great frequently led armies that ravaged the provinces of the Eastern Roman Empire and eventually threatened Constantinople itself. Eventually, Theoderic and Emperor Zeno worked out an arrangement beneficial to both sides in which Theoderic invaded Odoacer's kingdom and eventually conquered Italy.