Zhang Yichao

When the Tibetan Empire plunged into civil war, he led a rebellion, capturing several cities and reverted the area's allegiance to the Tang dynasty.

He subsequently conquered the Hexi Corridor and governed it as the military commissioner (jiedushi) of Guiyi Circuit (headquartered in modern Dunhuang) under nominal authority of the Tang emperors.

Zhang thereafter claimed the title of acting prefect of Sha Prefecture and submitted a petition to Emperor Xuānzong of Tang, offering his loyalty and submission.

Afterwards they prepared maps of the 11 prefectures and his brother Zhang Yize (張義澤) submitted them to Xuānzong at Chang'an to prove their allegiance to the Tang dynasty.

[4] In 863, Zhang Yichao led a group of 7,000 Han and non-Han soldiers to capture Liang Prefecture (涼州, in modern Wuwei, Gansu).

Mural commemorating victory of General Zhang Yichao over the Tibetans in 848. Mogao cave 156, Late Tang dynasty
Zhang Yichao leaving on campaign
Celebrations after victory over the Tibetans