I was reading the Wikipedia article about the Magyar tribes and saw this:
"Before 881 AD three Turkic tribes rebelled against the rule of the Khagan of the Khazars, but they were suppressed. After their defeat they left the Khazar Empire and voluntarily joined the Hétmagyar confederation. The...