After the dissolution of the Hunnic Empire, the Western Turkic and Avar Khaganates dominated territories from Pannonia to the Caspian Sea before replaced by the short lived Old Great Bulgaria and the more successful Khazar Khaganate north of the Black Sea and the Magyars in Central Europe.