Hexi Corridor
In 764 the Tibetan Empire invaded the Hexi Corridor and conquered Liang Prefecture, cutting off the Anxi and Beiting protectorates from the Tang dynasty. However Anxi and Beiting were left relatively unmolested under the leadership of Guo Xin and Li Yuanzhong.