唐庄宗
The first historical reference to Li Jiji was in 917 (although it is unclear whether the incident actually happened in 917 itself), when there was a time when Li Cunxu had him dance in the honor of the eunuch official Zhang Chengye, and Zhang gave him a gift to show thanks — and yet displeased Li Cunxu, who considered the gift as being too small in amount. (The dispute was resolved when Li Cunxu realized, at the urging of his mother (Li Jiji's grandmother) Lady Dowager Cao of Zhang's faithfulness by not expending from the royal treasury.) In 922, when Li Cunxu met with a key ally, Wang Du the military governor of Yiwu Circuit (義武, headquartered in modern Baoding, Hebei), Wang proposed to give his daughter in marriage to Li Jiji, and Li Cunxu agreed. (Li Jiji himself was said to be "emasculated from an illness" in childhood and never had a son.)