After Li Liu's death, his nephew, Li Xiong, the son of Li Te, carried the banner of the displaced people's uprising.

Li Xiong (274–334 CE), courtesy name Zhongjun, appointed Li Xiong as a former general after Li Te led a revolt of displaced people. In 303, Li Te was killed by Roshan, and not long after his brother Li Dang was also killed. Li Te followed his uncle Li Liu to continue the war, but during this period, the situation of the exile army further deteriorated, and Li Liu, under the persuasion of his brother-in-law Li Han, was once ready to surrender. However, Li Xiong firmly opposed it, and single-handedly led an army to attack the Jin army, and then Li Xiong attacked and occupied Picheng, which made Li Liu look at him with astonishment.
In the same year, Li Liu died of illness, and Li Xiong claimed to be the governor of Dadu, the great general, and the pastor of Yizhou, and was stationed in Picheng. Subsequently, he constantly fought with Luo Shang, defeated him many times, and took Chengdu. Despite the continual victories, Li Xiong realized that it was dangerous not to have the support of the natives of Shuzhong. Fortunately, Li Liu had already befriended Fan Changsheng before his death, and received strong support from Fan Changsheng.
Fan Changsheng (范 Changsheng), ziyuan, was the leader of the Tianshi Dao in the Chengdu area, and his family had mastered the part for generations and was very influential in Shudi. For such a powerful figure, Li Xiong's performance is also admirable. He believed that Fan Changsheng was famous and valued by the Shu people, and wanted to honor him as the lord, of course, Li Xiong's move was to ease the contradiction between the displaced people and the Shu sergeant clan.
But Fan Changsheng refused, believing that he could not lead the army of displaced people, but used his status as a Heavenly Master Taoist Sect Leader to help Li Xiong. Fan Changsheng also advised Li Xiong to stand on his own.
In 304, with the support of his generals, Li Xiong proclaimed himself king of Chengdu, pardoned criminals in the territory, established the name Jianxing, and abolished the laws of the Jin Dynasty, about seven chapters of the law. The first regime of the Sixteen Kingdoms was formally established, and as for Fan Changsheng, Li Xiong granted his high-ranking official Houlu, added Fan Changsheng the title of Heaven and Earth Taishi, and was given the title of Marquis of Xishan, allowing his subordinates not to participate in military conquests, and all taxes were included in his family.
In 306 AD, Fan Changsheng came to Chengdu from Mount Qingcheng and officially went out of the mountain to assist Li Xiong. Li Xiong, who was overjoyed, personally greeted him at the city gate, and worshipped Fan Changsheng as a chancellor and honored Fan Xian. Under the persuasion of Fan Changsheng, Li Xiong officially became emperor in the same year, changed his name to Yuan Yanping, and the state name became Cheng.
As a Taoist leader, Fan Changsheng proposed to Li Xiong the strategy of "recuperating and recuperating, rejuvenating the religion with thinness, and not exhausting the army and fighting with force", and Li Xiong also adopted his opinions, and began to extend political service, lightly dispense with thin endowments, build official studies, revitalize culture and education, end the weather, punish not to act arbitrarily, punishment is not indiscriminate, and Enwei spread far and wide. Chengguo also began a period of prosperity.