{
 "id": "epm5nnfz7a",
 "slug": "wang-xiaojie",
 "title": "Wang Xiaojie",
 "updated": "2026-10-15",
 "topic_path": [
  {
   "id": "society",
   "label": "Society and history",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society"
  },
  {
   "id": "society.history",
   "label": "History and archaeology",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society.history"
  },
  {
   "id": "society.history.asia",
   "label": "Asian history",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society.history.asia"
  },
  {
   "id": "society.history.asia.china",
   "label": "China",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society.history.asia.china"
  },
  {
   "id": "society.history.asia.china.tang-early",
   "label": "Early Tang (618 to 755)",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society.history.asia.china.tang-early"
  },
  {
   "id": "society.history.asia.china.tang-early.generals-and-military-campaigns",
   "label": "Generals and military campaigns",
   "api_url": "https://www.edgepedia.org/api/v1/topics/society.history.asia.china.tang-early.generals-and-military-campaigns"
  }
 ],
 "geo": [
  {
   "id": "geo.chn.t500.society.history.asia.china.tang-early",
   "label": "China · 500 BC to AD 999: Early Tang (618 to 755)",
   "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society.history.asia.china.tang-early",
   "path": [
    {
     "id": "geo.chn",
     "label": "China",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn"
    },
    {
     "id": "geo.chn.t500",
     "label": "China · 500 BC to AD 999",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500"
    },
    {
     "id": "geo.chn.t500.society",
     "label": "Society and history",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society"
    },
    {
     "id": "geo.chn.t500.society.history",
     "label": "History and archaeology",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society.history"
    },
    {
     "id": "geo.chn.t500.society.history.asia",
     "label": "Asian history",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society.history.asia"
    },
    {
     "id": "geo.chn.t500.society.history.asia.china",
     "label": "China",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society.history.asia.china"
    },
    {
     "id": "geo.chn.t500.society.history.asia.china.tang-early",
     "label": "Early Tang (618 to 755)",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.chn.t500.society.history.asia.china.tang-early"
    }
   ]
  }
 ],
 "excerpt": "Wang Xiaojie (王孝杰) was a Tang dynasty general from Jingzhaoxinfeng who recovered the four western garrisons from Tibet in 692 and later died in battle against the Khitan.",
 "snippet": "Wang Xiaojie (王孝杰) was a Tang dynasty general from Jingzhaoxinfeng who recovered the four western garrisons from Tibet in 692 and later died in battle against the Khitan.",
 "node": "society.history.asia.china.tang-early.generals-and-military-campaigns",
 "markdown": "# Wang Xiaojie\n\n**Wang Xiaojie** (王孝杰) was a [Tang dynasty](https://www.edgepedia.org/tang-dynasty) general from Jingzhaoxinfeng (京兆新丰) who recovered the four western garrisons from Tibet in 692 and died in battle against the Khitan during the reign of Wu Hou (武后). He rose from a captured officer to 夏官尚书 and a seat among the chief ministers, and the histories record him as a commander who fought in the front rank and shared the hardships of his soldiers.\n\n| Fact | Detail |\n|---|---|\n| Origin | Jingzhaoxinfeng man; entered service through military merit<sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup> |\n| Dynasty and sovereign | Tang; served Gaozong's last years and then Wu Hou<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup> |\n| Signature campaign | Recovery of Qiuci (龟兹), Yutian (于阗), Shule (疏勒), and Suiye (碎叶), 长寿元年 (AD 692)<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup> |\n| Highest offices | 夏官尚书、同凤阁鸾台三品; also 左卫大将军 and 朔方道总管<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup> |\n| Enfeoffment | 淸源男, later posthumous 耿国公<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup> |\n| Death | Fell at Dongxiashigu (东峡石谷) fighting the Khitan in the 万歳通天 years, at the head of 180,000 men<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup> |\n| Heir | Son Wang Wuze (王无择), made 朝散大夫, later 左骁卫将军<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup> |\n\n## Origins and family\n\nThe histories open with Wang as a man of Jingzhaoxinfeng, and the 《新唐书》 adds that he advanced in youth through military merit<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. The CBDB record gives no birth year<sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup>. According to the China Biographical Database, his son Wang Wuze is the only relative of his named in the record. \n\n## Career\n\n**Capture at Dafeichuan (大非川).** In the last years of Gaozong, Wang served as 副总管 under the Minister of Works Liu Shenli (刘审礼) in the western campaign against Tibet (吐蕃). The army fought at Dafeichuan and Wang was taken prisoner. The Tibetan btsanpo (the Tibetan emperor/monarch), seeing him, wept and said, \"His face resembles my father,\" treated him with marked respect, spared his life, and before long let him return<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup><sup> • </sup><sup>[4](https://www.shidianguji.com/zh/book/LS0016/chapter/LS0016_255)</sup>. The captivity left Wang with detailed knowledge of Tibet, which the histories state plainly: \"he had long been among the Tibetans and knew their real condition\"<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>.\n\n**Recovery of the four garrisons, 692.** Under Wu Hou Wang rose to 右鹰扬卫将军. In 长寿元年 (AD 692) he was appointed 武威军总管 and, together with the 左武卫大将军 A Shinazhongjie (阿史那忠节), led troops against Tibet and retook the four garrisons of Qiuci, Yutian, Shule, and Suiye before returning<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup><sup> • </sup><sup>[4](https://www.shidianguji.com/zh/book/LS0016/chapter/LS0016_255)</sup>. The empress told her ministers that the western frontier had held these garrisons under Zhenguan, been lost to Tibet through poor defense, and that their full recovery was Wang's achievement; the 《旧唐书》 adds her praise that he \"walked on foot with his soldiers, exerting himself equally with them\"<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. He was made 左卫大将军, and the next year advanced to 夏官尚书、同凤阁鸾台三品, with the enfeoffment of 淸源男<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>.\n\n**Later commands and dismissal.** Early in 延载 he became 瀚海道行军总管, retaining his other posts; early in 证圣 he was appointed 朔方道总管, and was soon dismissed for a defeat against the Tibetans<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. The CBDB row records the 朔方行军总管 command and notes his service as a minister under Wu Hou<sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup>.\n\n**The Khitan campaign and death.** In the 万歳通天 years, when the Khitan leaders Li Jinzhong (李尽忠) and [Sun Wanrong](https://www.edgepedia.org/sun-wanrong) (孙万荣) rebelled, Wang was recalled from commoner status (白衣) as 淸边道总管 with 180,000 men. His army met the rebels at Dongxiashigu, where the road narrowed and the enemy were numerous. Wang led his elite troops as the vanguard, fighting as he advanced, and on leaving the gorge formed a square formation to hold them. The rear-army commander Su Honghui (苏宏晖), fearing the enemy's numbers, abandoned his armor and fled; with no support behind him, Wang's camp collapsed and he fell into the gorge and died, his soldiers killed or trampled almost to a man<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. Zhang Shuo (张说), then the army's 管记, rode back to report; asked by the empress how Wang had been lost, he answered that Wang, loyal and ready to die for the state, had gone deep into enemy territory and faced a multitude with few men, and lost only because the rear support never arrived<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. The court sent envoys to execute Su Honghui as an example, but before they reached Youzhou he had earned merit that redeemed his offense, and he was spared<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>.\n\n## Political influence\n\nWang's recovery of the four garrisons in 692 restored the western frontier that had been abandoned to Tibet, and the empress credited the return of the old territory to him by name<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. The institutional consequence outlasted him: after the recovery, the court stationed 24,000 troops in the four garrisons and returned the seat of the 安西大都护府 to Qiuci, a disposition that modern narrative accounts describe as dismantling the Tibetan administrative system in the Western Regions<sup>[5](http://guoxue.k618.cn/gxjt/201508/t20150810_6085780.htm)</sup><sup> • </sup><sup>[6](https://tool.jxxyjl.com/suitangwudaimingren/8405.html)</sup>. \n\n## Military style\n\nThe record shows a commander who led from the front. At Dafeichuan and again at Dongxiashigu he was with the vanguard; in the Khitan campaign he \"led his elite troops as the vanguard, fighting as he advanced,\" then reformed a square formation on exiting the gorge, a maneuver for holding broken ground against superior numbers<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>. The histories credit him with knowing Tibet's real condition from his long years among the Tibetans<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. The empress's citation praised him for marching on foot and sharing the soldiers' exertions, and Zhang Shuo's report characterized his method as deep penetration of enemy territory with a small force against a large one<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup><sup> • </sup><sup>[7](https://www.lishirenwu.com/tangchaorenwu/wangxiaojie.html)</sup>.\n\n## Death, titles, and heirs\n\nWang died at Dongxiashigu in the 万歳通天 years; the histories record no calendar day<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. On Zhang Shuo's report the court posthumously granted him 夏官尚书 and the title of 耿国公, made his son Wang Wuze a 朝散大夫, and in the 开元 era, by the ordinary grace of that reign, granted him the further honor of 特进<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. The 《新唐书》 preserves an omen story told afterward: a white mouse had entered the camp by day at Pingzhou (平州) before the march, read as a sign of doom for a northern enemy, and the defeat that followed was said to have fulfilled it<sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup>.\n\n## Assessment\n\nWu Hou's own verdict on the 692 campaign, as the histories record it, was that his merit and sincerity were deeply commendable<sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. Zhang Shuo judged that though he lost, his merit could be recorded, because he had dared to go deep and face a multitude with few<sup>[1](https://zh.wikisource.org/wiki/新唐書/卷111)</sup><sup> • </sup><sup>[7](https://www.lishirenwu.com/tangchaorenwu/wangxiaojie.html)</sup>. Modern narrative accounts generally follow the histories in placing the final defeat's cause with the flight of the rear commander rather than with Wang<sup>[9](http://www.lishipu.com/read-295802.html)</sup>.\n\nSeveral points are not settled by the sources. CBDB gives his death year as 675, while the histories place his death in the Khitan campaign of the 万歳通天 years<sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup><sup> • </sup><sup>[2](https://zh.wikisource.org/wiki/舊唐書/卷93)</sup>. His birth year is unknown in all sources consulted<sup>[3](https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925)</sup>.\n\n## Legacy\n\nWang appears as a character in the television series 《神探狄仁杰2》 (2006) and 《神探狄仁杰4》 (2010), in both played by 严燕生; there he is drawn as a hot-tempered, headstrong but loyal and forthright commander<sup>[7](https://www.lishirenwu.com/tangchaorenwu/wangxiaojie.html)</sup><sup> • </sup><sup>[8](http://www.renwujianjie.cn/tangchaorenwu/wangxiaojie.html)</sup>. His biography stands in 《旧唐书》卷九十三 and 《新唐书》卷一百一十一, with further coverage in the 《资治通鉴》<sup>[8](http://www.renwujianjie.cn/tangchaorenwu/wangxiaojie.html)</sup>.\n\n## References\n\n1. 《新唐书》卷一百一十一 (biography, Wikisource transcription), https://zh.wikisource.org/wiki/新唐書/卷111\n2. 《旧唐书》卷九十三 (biography, Wikisource transcription), https://zh.wikisource.org/wiki/舊唐書/卷93\n3. China Biographical Database (CBDB), person 175925 王孝杰, https://cbdb.fas.harvard.edu/cbdbapi/person.php?id=0175925\n4. 旧唐书·王孝杰传（识典古籍）, https://www.shidianguji.com/zh/book/LS0016/chapter/LS0016_255\n5. 王孝杰战死沙场, 中国少年国学院（未来网）, http://guoxue.k618.cn/gxjt/201508/t20150810_6085780.htm\n6. 王孝杰简介（隋唐五代名人）, https://tool.jxxyjl.com/suitangwudaimingren/8405.html\n7. 王孝杰简介, 历史人物网, https://www.lishirenwu.com/tangchaorenwu/wangxiaojie.html\n8. 王孝杰简介, 人物简介网, http://www.renwujianjie.cn/tangchaorenwu/wangxiaojie.html\n9. 唐朝武周名将王孝杰战死沙场, 历史铺, http://www.lishipu.com/read-295802.html\n\n---\n*Topic: Encyclopedia › Society and history › History and archaeology › Asian history › China › Early Tang (618 to 755) › Generals and military campaigns*\n\n*Initially written Sep 23, 2026 · Edited: Oct 15, 2026*\n\n*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*\n\nLicense: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license\n",
 "same_as": [],
 "url": "https://www.edgepedia.org/wang-xiaojie",
 "markdown_url": "https://www.edgepedia.org/wang-xiaojie.md",
 "license": {
  "name": "Edgepedia Community License 1.0",
  "url": "https://www.edgepedia.org/edgepedia/license",
  "summary": "Free with credit, commercial use included. AI training is open to everyone. For other uses, organizations over USD 100M in revenue or 100M monthly users license separately.",
  "spdx": "LicenseRef-Edgepedia-Community-1.0"
 },
 "credit": "\"Wang Xiaojie\", Edgepedia (EdgeChat), https://www.edgepedia.org/wang-xiaojie. Edgepedia Community License 1.0.",
 "credit_md": "\"[Wang Xiaojie](https://www.edgepedia.org/wang-xiaojie)\", Edgepedia (EdgeChat), [https://www.edgepedia.org/wang-xiaojie](https://www.edgepedia.org/wang-xiaojie). [Edgepedia Community License 1.0](https://www.edgepedia.org/edgepedia/license).",
 "credit_html": "\"<a href=\"https://www.edgepedia.org/wang-xiaojie\">Wang Xiaojie</a>\", Edgepedia (EdgeChat), <a href=\"https://www.edgepedia.org/wang-xiaojie\">https://www.edgepedia.org/wang-xiaojie</a>. <a href=\"https://www.edgepedia.org/edgepedia/license\">Edgepedia Community License 1.0</a>.",
 "speakable": "Wang Xiaojie was a Tang dynasty general from Jingzhaoxinfeng who recovered the four western garrisons from Tibet in 692 and later died in battle against the Khitan."
}
