Xu Shang (), courtesy name Yisheng (義è²) or Qiuqing (ç§Âå¿), formally Viscount of Dongguan (æÂ±èÂÂÃ¥ÂÂ), was an official of the Chinese Tang dynasty, serving as a chancellor during the reign of Emperor Yizong of Tang.
It is not known when Xu Shang was born. He was a fifth-generation descendant of Xu Yougong (å¾ÂæÂÂÃ¥ÂÂ), a famed judge during the reign of Wu Zetian. His family claimed to be originally descended from mythical Xia dynasty judge Gao Yao and traced its ancestry through a line of officials of the Qin dynasty, the Han dynasty, the state Cao Wei, the Jin dynasty (266âÂÂ420), the Liu Song dynasty, the Southern Qi dynasty, the Liang dynasty, the Chen dynasty, and the Tang dynasty. His father Xu Zai (å¾Âå®°) served as a judge at the supreme court (大çÂÂ寺, Dali Si). Xu Shang had at least one younger brother, Xu Gong (å¾Âå®®). By Xu Zai's time, the family was living in Xinzheng (æÂ°éÂÂ, in modern Zhengzhou, Henan). In Xu Shang's youth, he was a hermit in the Zhongtiao Mountains (ä¸Âæ¢Âå±±), but he later came out of the hermit living and passed the imperial examinations in the Jinshi class.
Sometime during the Dazhong era (847âÂÂ860) of Emperor XuÃÂnzong, Xu Shang was promoted to be Shangshu Zuo Cheng (å°ÂæÂ¸å·¦ä¸Â), one of the secretaries general of the executive bureau of government (å°ÂæÂ¸çÂÂ, Shangshu Sheng). At a later point, Emperor XuÃÂnzong sent him to survey the border regions and to issue edicts in those regions. He was then made the military governor (jiedushi) of Hezhong Circuit (æ²³ä¸Â, headquartered in modern Yuncheng, Shanxi). While he was serving there, there were a group of Tujue remnants who crossed the Yellow River and submitted to him. He settled them and organized them into an elite fighting force of 1,000 men.
Xu was later transferred to Shannan East Circuit (å±±åÂÂæÂ±éÂÂ, headquartered in modern Xiangfan, Hubei). As Shannan East had rugged terrain, there were many mountains where bandits gathered. Xu trained an elite group of soldiers to combat banditry. As of 858, when a mutiny at Hunan Circuit (æ¹ÂÃ¥ÂÂ, headquartered in modern Changsha, Hunan) expelled the governor (è§Âå¯Â使, Guanchashi) Han Cong (éÂÂæÂ°), Xu sent these elite soldiers to suppress the Hunan mutiny. He also sent some of his elite soldiers, under his officer Han Jiyou (éÂÂå£åÂÂ), to aid Wei Zhou (éÂÂå®Â) the governor of Jiangxi Circuit (æ±Â西, headquartered in modern Nanchang, Jiangxi) in combating a mutiny at Jiangxi, and subsequently Wei was able to suppress the mutiny there.
Early in the Xiantong era (860âÂÂ874) of Emperor XuÃÂnzong's son Emperor Yizong, Xu Shang was recalled to the capital Chang'an to serve as the minister of justice (Ã¥ÂÂé¨å°ÂæÂ¸, Xingbu Shangshu) and the director of the salt and iron monopolies; he was also created the Viscount of Dongguan In 865, by which time he was apparently serving as chief imperial censor (御å²大夫), he was made the deputy minister of justice (Ã¥ÂÂé¨ä¾ÂéÂÂ, Xingbu Shilang) and given the designation Tong Zhongshu Menxia Pingzhangshi (Ã¥ÂÂä¸ÂæÂ¸éÂÂä¸Â平章äºÂ), making him a chancellor de facto. In 869, he was sent out of Chang'an to serve as the military governor of Jingnan Circuit (èÂÂÃ¥ÂÂ, headquartered in modern Jingzhou, Hubei), continuing to carry the Tong Zhongshu Menxia Pingzhangshi as an honorary title. He died while serving there, although the date is not known. His son Xu Yanruo later served as a chancellor during the reign of Emperor Yizong's son Emperor Zhaozong.