Liao dynasty
In 1010 the Liao dynasty attacked the Ganzhou Uyghurs and defeated them.