Yelü Bei
Yelü Deguang, posthumously Emperor Taizong of Liao, was the second son of Shulü Ping and not the first in line for the Khitan throne. His elder brother, the 26-year old heir apparent Yelü Bei, was disliked by the conservative Khitan elites for his intellectual pursuits. As a polymath, Yelü Bei was skilled in painting, writing in both Khitan and Chinese languages, and possessed a large personal library. He also had a taste for Chinese culture, music, medicine, and prognostication. Chinese-style primogeniture was also not a custom among the Khitans, which was why Abaoji had them swear allegiance to Yelü Bei when he announced him as heir apparent. Bei's mother, Shulü Ping, who was exceptionally powerful in her own right, commanding thousands of horsemen and leading troops on campaign, took control of all military and civil affairs as regent, after having cut off her right hand to be buried with her husband. Shulü Ping herself disproved of her first son as heir due to his Chinese leanings and used all her influence to have Bei set aside for his younger brother, Deguang, who had participated in the 922–923 and 924–925 campaigns. Toward the end of 927, Bei approached his mother and formally withdrew his claim. Deguang succeeded the throne.