유선
Gengshi was a descendant of Emperor Jing of early Western Han dynasty, via the lineage of Liu Mai, Prince Ding of Changsha. His third cousin, Liu Yan, was a prominent general in the rebellions against the reign of Wang Mang in the short-lived Xin dynasty. In the year 22 AD, many rebel leaders were jealous of Liu Yan's capabilities despite many of their men admiring Liu Yan and wanting him to become the emperor of a restored Han dynasty. They found Liu Xuan, then another local rebel leader who was claiming the title of General Gengshi () at the time and was considered a weak personality, and requested that he be made emperor. Liu Yan initially opposed this move and instead suggested that Liu Xuan carry the title "King of Han" first (echoing the founder of the Han dynasty, Emperor Gaozu). The other rebel leaders refused, and in early 23, Liu Xuan was proclaimed emperor. Liu Yan became prime minister.