吐蕃
In 790 the Tibetan Empire conquered Ting Prefecture.