Emperor Zhaozong of Tang
Li Jiyan was born in 898, during the reign of Emperor Zhaozong of Tang. He was the oldest son of both his father Li Maozhen and his mother (Li Maozhen's wife) Lady Liu. On account of his birth, even before he went through the rite of passage, he received the titles of deputy commander of the army at Peng Prefecture (彭州, in modern Ngawa Tibetan and Qiang Autonomous Prefecture, Sichuan) and commander of the guard corps at his father's Fengxiang Circuit (鳳翔, headquartered in modern Baoji, Shaanxi). In the middle of Emperor Zhaozong's "Tianfu" era (901–904), he was made the acting military governor of Zhangyi Circuit (彰義, headquartered in modern Pingliang, Gansu).