Tibetan Empire
In 787 the Tibetan Empire conquered Qiuci.