Xue Ping

[1] – February 25, 832[2][3]), courtesy name Tantu (坦途), formally the Duke of Han (韓公), was a general of the Chinese Tang dynasty, whose father Xue Song ruled Zhaoyi Circuit (昭義, then-headquartered in modern Anyang, Henan) semi-independently from the imperial government.

[5] Meanwhile, after Xue Ping completed his period of mourning for his father, Emperor Daizong made him a general of the imperial guards—where he stayed for over 30 years.

[4][6] By 812, Xue was referred to as a major general of the imperial guards, when he was made the military governor of Yicheng Circuit (義成, headquartered in modern Anyang, Henan) in the aftermaths of the death of the warlord Tian Ji'an (Tian Chengsi's grandson) the military governor of Weibo, as part of the imperial maneuvering to try to control Weibo.

[4] (It was because Xue was familiar with the customs of the region north of the Yellow River and his faithfulness to the imperial government that, when, in 821, by which time Emperor Xianzong's son Emperor Muzong was emperor, Liu Zong the military governor of Lulong Circuit (盧龍, headquartered in modern Beijing), which had also long been ruled independently from the imperial government, surrendered Lulong to imperial control, Liu recommended dividing Lulong into three circuits with Xue, the former chancellor Zhang Hongjing, and the official Lu Shimei (盧士玫) taking the commands of the three circuits, although Liu's recommendations were not heeded, and the command of Lulong was given to Zhang with only a small portion carved out and given to Lu.

[10] As a result, Emperor Muzong gave Xue the honorary title of You Pushe (右僕射) and created him the Duke of Wei.

In a month, however, he was commissioned as the military governor of Hezhong Circuit (河中, headquartered in modern Yuncheng) and acting Sikong (司空, one of the Three Excellencies).

In 828, after two prefectures were added to his circuit, he was further made acting Situ (司徒, also one of the Three Excellencies); his title was also changed to Duke of Han.