The "H" in the name of Hungary (and Latin ''Hungaria'') is most likely due to historical associations with the Huns, who had settled Hungary prior to the Avars. The rest of the word comes from the Latinized form of Byzantine Greek ''Oungroi'' (Οὔγγροι). The Greek name was borrowed from Old Bulgarian ''ągrinŭ'', in turn borrowed from Oghur-Turkic ''Onogur'' ('ten tribes of the Ogurs'). ''Onogur'' was the collective name for the tribes who later joined the Bulgar tribal confederacy that ruled the eastern parts of Hungary after the Avars.