 Porphyroneitus wrote that the Magyars " lived together with the Chazars for three years , and fought in alliance with the Chazars in all their wars " , which suggests that the Magyars were subjugated to the Khazar Khagan , according to a scholarly view . On the other hand , historian György Szabados says , the emperor 's words prove the equal position of the Magyars and the Khazars , instead of the Magyars ' subjugation to the Khagan . Although the emperor said that the Magyars ' cohabitation with the Khazars lasted only for three years , modern historians tend to propose a longer period ( 20 , 30 , 100 , 150 , 200 or even 300 years ) . 
