Mahmud al-Kashgari
Mahmud al-Kashgari listed 22 Oghuz tribes in Dīwān Lughāt al-Turk. Kashgari further wrote that "In origin they are 24 tribes, but the two Khalajiyya tribes are distinguished from them [the twenty-two] in certain respects and so are not counted among them. This is the origin".