Wang Zhongsi later served under the generals
Xiao Song and Li Hui () the Prince of Xin'an (Emperor Xuanzong's second cousin). By 733, Wang was a general, serving at Hexi Circuit (河西, headquartered in modern
Wuwei, Gansu) and carrying the title of Baron of Qingyuan. On one occasion, however, he offended Wang Yu (), the sworn brother of the official Huangfu Weiming (), and as a result, Huangfu made accusations against him, and he was demoted to be a recruiting officer (果毅,
Guoyi). In 738, when the general Du Xiwang () was set to attack Tubo, his subordinates recommended Wang, and Du retained Wang to serve under him. Wang subsequently contributed much to a victory over Tubo, and was promoted back to general status, and was soon made the deputy military governor (
jiedushi) of Hedong Circuit (河東, headquartered in modern Taiyuan). In 740, he was made the military governor of Hedong. In 741, he was made the military governor of
Shuofang Circuit (朔方, headquartered in modern
Yinchuan,
Ningxia), but continued to oversee Hedong as well until Tian Renwan () was given Hedong. In 742, three subordinate tribes to
Eastern Tujue,
Baximi,
Huige, and
Geluolu (), rebelled against Eastern Tujue's khan
Ashina Guduo and killed him. Eastern Tujue subsequently broke into halves, with the chieftain of Baximi, who took the title of
Jiadeyishi Khan, and the son of the Eastern Tujue duke Ashina Panjue (), who took the title of
Wusumishi Khan, each claiming to be khan. Emperor Xuanzong sent emissaries to Wusumishi Khan, advising him to submit to Tang, but Wusumishi Khan refused. Wang then launched his troops to pressure Wusumishi Khan, who became fearful and indicated that he was willing to submit, but took no actual action to do so. Wang then persuaded Baximi, Huige, and Geluolu to attack him. He fled, and Wang captured part of his people and returned to Tang territory. For his contributions, Wang was given a greater general title. In 744, Baximi attacked Wusumishi Khan and killed him. Wusumishi Khan's people supported his brother
Ashina Gulongfu as Baimei Khan. Under Emperor Xuanzong's orders, Wang launched his troops to attack Ashina Gulongfu, defeating him. Subsequently, Huige and Geluolu forces killed both Ashina Gulongfu and Jiadeyishi Khan, and Huige's chieftain
Yaoluoge Gulipeiluo established a new khanate as its khan. Emperor Xuanzong created Yaoluoge Gulipeiluo as Huairen Khan. In 745, Wang was created the greater title of Duke of Qingyuan. In 745, Wang was given the military governorship of Hedong as well as Shuofang. It was said that he considered himself brave, but took comforting the border region as his priority, often stating: Wang's philosophy was so strict on this that it was said that his soldiers were often itching for a fight. He, however, was accustomed to send intelligence officers to spy on the enemy, to see when attacks could be launched successfully, before doing so. Once he took the commands of both Shuofang and Hedong, he built many forts on the border for defensive purposes, and many considered him a superior commander of that region than everyone since
Zhang Rendan. Further, it was said that he intentionally paid an overly high price for horses, and as a result, non-
Han tribes would often sell their horses to him, thus increasing the Tang army's horse supply while reducing potential enemies'. In 746, Wang was given the military governorships of Hexi and Longyou (隴右, headquartered in modern
Haidong Prefecture,
Qinghai), but continued to oversee Hedong and Shuofang as well. Under his request, 9,000 horses were delivered from Hedong and Shuofang to Hexi and Longyou, to strengthen the armies of Hexi and Longyou. It was said that he was successful in battles against Tubo and
Tuyuhun remnants. It was also said that, however, he was far more familiar with the people of Hedong and Shuofang than with Hexi and Longyou, and was not as good in governance of those circuits, and that he had gotten arrogant and wasteful in light of his successes, causing his reputation to suffer. == Removal and death ==