The Yagmas, or Yaghmas, were a medieval tribe of Turkic people that came to the forefront of history after the disintegration of the Western Turkic Kaganate. They were one component of a confederation which consisted of Yagma, the Karluks, the Chigils and other tribes which founded the Kara-Khanid Khanate. From the seventh century until the Karakhanid period, the Yagma were recorded in Arabic, Persian, and Chinese accounts as a prominent and powerful political entity in the Tarim Basin, Dzungaria, and Jeti-su.
According to the Persian work Mujmal al-Tawarikh wa-'l-Qisas, the Yağma "padšâh" bore the title of Bogra Khan. The Yagma title of Bogra Khan allowed V.Bartold to suggest that Karakhanid Il-khans were from the Yagma tribe.
Mahmud al-Kashgari mentioned the Yagma and Tocharians tribes, with a clan of Chigils, along the Ili River. In the tenth century the Yagma tribe lived in the Kashgar area and further northwest. Al Gardezi, who used sources composed in the eighth century, wrote that the Yagma united numerous tribes between the Uyghurs and Karluks in the larger part of the eastern Tian Shan, including Kashgar City and District. Gardezi called the Yagma a "rich people with large herds of horses" in a country of "one month of travel". The Yagma constantly clashed with the Karluks and the Kimaks, and were a dependent of the Western Turkic Kagans until their demise.
According to Yury Zuev, a semantic meaning of the word yagma (yaγgma) in the ancient Türkic language, is "attack, onslaught." However, according to Peter Golden, the word may have derived from Turk. yağ- "to pour down, rain", but noting that the form with -ma is unusual. He also noted the Persian word yaġmâ meaning "prey, plunder, booty, spoils", and that it is unclear if it has any relationship with Yağma.
The following account of the country of Yaghma and its towns is given in the tenth century text Hudud al-'alam:
East of the Toquz-Oghuz country; south of it, the river Khuland-ghun which flows into the Kucha river, west of it are the Qarluq borders. In this country there is little agriculture, (yet) it produces many furs and in it much game is found.
Their wealth is in horses and sheep. The people are hardy, strong, and warlike, and have plenty of arms. Their king is from the family of the Toquz-Oghuz kings. These Yaghma have numerous tribes; some say that among them 1,700 known tribes are counted. Both the low and the nobles among them venerate their king ...and in their region there are a few villages.1. Kashghar belongs to Chinistan but is situated on the frontier between the Yaghma, Tibet, the Qïrghïz, and China. The chiefs of Kashghar in the days of old were from the Qarluq, or from the Yaghma...— Hudud al-'alam
- Golden, Peter. B. (1990), "The Karakhanids and Early Islam", in Sinor, Denis, The Cambridge History of Early Inner Asia, Cambridge University Press, pp. 355–357, ISBN 0-521-2-4304-1
- Scott Cameron Levi, Ron Sela (2010). "Chapter 4, Discourse on the Country of the Yaghma and its Towns". Islamic Central Asia: An Anthology of Historical Sources. Indiana University Press. p. 30. ISBN 978-0-253-35385-6.
- Peter B. Golden (1992). An Introduction to the History of the Turkic Peoples: Ethnogenesis and State-Formation in Medieval and Early Modern Eurasia and the Middle East. p. 201. ISBN 978-3447032742.
- 1, 85
- Hendrik Boeschoten; Heidi Stein (2007). Einheit und Vielfalt in der türkischen Welt: Materialien der 5. Deutschen Turkologenkonferenz, Universität Mainz, 4.-7. Oktober 2002. Otto Harrassowitz Verlag. pp. 9–. ISBN 978-3-447-05476-8.
- Yu. Zuev, "Early Türks: Essays on history and ideology", Almaty, Daik-Press, 2002, p. 227, ISBN 9985-4-4152-9
- Francis Steingass. A Comprehensive Persian-English Dictionary. p. 1582.