The Protectorate General to Pacify the West (Anxi Grand Protectorate), initially the Protectorate to Pacify the West (Anxi Protectorate), was a protectorate (640 – c. 790) established by the Chinese Tang dynasty in 640 to control the Tarim Basin. The head office was first established at the prefecture of Xi, now known as Turpan, but was later shifted to Qiuci (Kucha) and situated there for most of the period.
The Four Garrisons of Anxi in Kucha, Khotan, Kashgar, and Karashahr were installed between 648 and 658 as garrisons under the western protectorate. In 659, Sogdia, Ferghana, Tashkent, Bukhara, Samarkand, Balkh, Herat, Kashmir, the Pamirs, Tokharistan, and Kabul all submitted to the protectorate under Emperor Gaozong of Tang.