高仙芝
As of 751, Tang was also facing defeats on two different external fronts – as Nanzhao's king Geluofeng (), angry about unreasonable demands that the Zhang Qiantuo () the governor of Yunnan Commandery (雲南, roughly modern Chuxiong Yi Autonomous Prefecture, Yunnan) and Zhang's subsequent false accusations that he was planning to rebel, rebelled for real, and attacked and occupied Yunnan Commandery. A major attack by the general Xianyu Zhongtong () against Nanzhao failed terribly in 751, and subsequent defeats by Tang forces eventually led to a total of some 200,000 casualties among Tang troops. On the western front, Gao Xianzhi suffered a major defeat at the Abbasid forces at the Battle of Talas in 751 as well, ending the Tang expansion to the west.