 According to Muslim scholars , the Magyars had two supreme leaders , the kende and the gyula , the latter being their ruler in the 870s . Their report implies the Khagan granted a Khazar title to the head of the federation of the Magyar tribes ; Ibn Fadlan recorded that the third Khazar dignitary was styled kündür in the 920s . The Muslim scholar 's report also implies the Magyars adopted the Khazar system of " dual kingship " , whereby supreme power was divided between a sacred ruler ( the kende ) and a military leader ( the gyula ) . 
