At the end of Sui Dynasty, uprisings broke out in various places, opposing Yang Di's brutal rule. At that time, Zhuo County was rich in products, and at the same time had a lot of military equipment and food Man Cang, which became the target of bandits in the surrounding mountainous areas. Hu Benlang, the left-behind officials, fought with, Helanyi and Jin many times, but they were defeated repeatedly. At that time, Se, who led Li Jing's army in Peiping, was transferred to Zhuo Jun County. When he led the troops against Shanwang, he often went out alone to challenge, and every time he won with a fierce attack and beat all the bandits away. No one dares to rob again. Therefore, Se's prestige also spread throughout Zhuo Jun County. Subsequently, Se supported herself. He opened the granary to help the poor and the armory to give the soldiers rich prizes. People inside and outside Zhuo Jun enjoy this happiness together. Tang _, the satrap of Bohai Sea, a neighboring county, and others condemned Luo Yi for sending troops to resist Sui Dynasty. Se attacked and killed several people, such as Tang _, so Liucheng and Huaiyuan counties joined Se. Se removed the satrap Yang from Liucheng and changed the county to Yingzhou. Ren Xiangping is the prefect of Yingzhou, and Se claims to be the prefect of Youzhou. From then on, he became the owner of the exclusive party.
At that time, Yu Wenhuaji and Dou Jiande tried to persuade him to join the Allies. Luo Yi thought that Li Yuan, who started his army in Taiyuan, won the hearts of the people, so he led the crowd to the Tang Dynasty. Soon Tang Taizong Li Yuan acceded to the throne as emperor and named Se Prince.
At the beginning of the founding of the Tang dynasty, the domestic heroes stood side by side, each according to its own side. In the fourth year of Wude, Liu Heita fought against the Tang Dynasty in Zhang Nan. In the fifth year of Wude, when Li Shimin led the army to conquer Liu Heita, Luo Yiling led the military forces to participate in the war, defeated Liu Heita's younger brother Liu Shishan in Xu He and beheaded 8,000 prisoners. A year later, Liu Heita made a comeback with Turkish soldiers. Se led his troops to war again, and after several battles, he finally joined forces with Tang Jun led by Prince Li in Liu Heita, the capital. Then Se entered the DPRK as a victorious general and a hero. Tang Gaozu Tang Gaozu warmly received him and worshipped him as the left general. Se is proud of her high position, so she looks down on others. On one occasion, Li Shimin's lieutenant went to his barracks to handle affairs, and Se beat the lieutenant for no reason.
In August of the ninth year of Wude, Li Shimin acceded to the throne and proclaimed himself emperor. Emperor Taizong selected talents and promoted meritorious ministers, including Luo Yi, who was worshipped as the third secretary of Kaifu Instrument Department. When the news reached Jingzhou, Se, who should have been happy, was frightened because he thought that he had defeated Li Shimin's men in Chang 'an. So he made up his mind to stand on his own feet and be king. Later, Luo Yi lied that he was led back to the DPRK by secret edict, and then led the army to Zhaizhou and occupied Zhaizhou. Emperor Taizong ordered Sun Chang Wuji, the official department minister, and Wei Chijingde, the general of Right Wuhou, to send troops to attack Se. Just then, Zhao Cihao and Yang, a soldier of the whole army, secretly planned to kill Se. In the end, the rebels in Se were defeated and scattered by some troops led by Yang, and Se only took hundreds of cavalry to the Turks. When he walked to the Ningzhou border and passed Wushi Station, his attendant knight took advantage of his unprepared sword to cut him under the horse and send his head to Chang 'an.