Wang Yang-ti, an emissary of the Sung emperor of China visited the Uighur King at Qocho, in 982. A fragment of his report:
There are no destitute people in the kingdom: those who cannot provide for themselves are cared for by public welfare. Many people reach advanced age.
Svat Soucek. A History of Inner Asia (Kindle Locations 1167-1169). Kindle Edition.