The Gengshi Emperor (died November 25 AD), born Liu Xuan, was an emperor of the Han dynasty that had been restored following the downfall of Wang Mang's short-lived Xin dynasty. He was also known by his courtesy name Shenggong and as the King or Prince of Huaiyang, a posthumous title bestowed upon him by Emperor Guangwu of the Eastern Han. The Gengshi Emperor was viewed as a weak and incompetent ruler, who briefly ruled over an empire willing to let him rule over them, but was unable to keep that empire together. He was eventually deposed by the Red Eyebrows and strangled a few months after his defeat.
Traditionally, historians treated his emperor status ambiguously: sometimes he would be referred to as the Gengshi Emperor, and sometimes by his posthumous title, Prince of Huaiyang. The regime of the Gengshi Emperor is known in historiography as the Xuan Han (), after his personal name Liu Xuan.
Liu Yan and new emperor
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 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 on 11 March 23, Liu Xuan was proclaimed emperor. Liu Yan became prime minister.
