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