خطای (Chagatai) comes from Karakhanid خِتایْ, from Old Uyghur 𐽲𐽶𐾀𐽰𐽶, from Old Turkic 𐰶𐰃𐱃𐰪, from Khitan 𘱿𘲫.