Protectorate General to Pacify the West
The Protectorate General to Pacify the West, Grand Protectorate General to Pacify the West, or Anxi Protectorate (640–790) was a Chinese outpost established by Tang Dynasty in 640 to control the Tarim Basin. The head office was first established at the Chinese prefecture of Xizhou, but was later shifted to Kucha and situated there for most of the period. The Four Garrisons of Anxi, Kucha, Khotan, Kashgar, and Karashahr were later installed between 648 and 658 as garrisons under the western protectorate's command. After the Anshi Rebellion the office of Protector General was given to Guo Xin who defended the area and the four garrisons even after communication had been cut off from Chang'an by the Tibetan Empire. The last five years of the protectorate's history is uncertain, but most sources agree that the protectorate and its garrisons were conquered by the Tibetans in the year 791 after nearly 150 years of domination under the Tang dynasty.