 Li Yun fled to the domain of the warlord Wang Chongrong, who executed him and presented his head to Emperor Xizong.It is not known when Li Yun was born.He was a great-grandson of Li Guang (李僙) the Prince of Xiang, who was a son of Emperor Suzong, and his grandfather Li Xuan (李宣), at one point, was created the Prince of Yiwu.