Wanyan Yongji (died 11 September 1213), childhood name Xingsheng, was the seventh emperor of the Jurchen-led Jin dynasty of China. He reigned for about five years from 1208 until 1213, when he was assassinated by the general Heshilie Zhizhong. Despite having ruled as an emperor, Wanyan Yongji was not posthumously honoured as such. Instead, in 1216, his successor, Emperor Xuanzong, reverted his status to "Prince of Wei" (衛王) – the title Wanyan Yongji held before he became emperor – and gave him the posthumous name "Shao" (紹), hence Wanyan Yongji is generally known in historiography as the "Prince Shao of Wei" (or Wei Shao Wang).