In 1376, Li Qi was selected by Zhu Yuanzhang to be a son-in-law, the Princess Lin'an's husband (Chinese:临安公主). He received accolades from Emperor Zhu Yuanzhang and was assigned significant responsibilities.[2] In 1390, Li Shanchang was involved in the Hu Weiyong case and subsequently took his own life. Li Qi was rescued from death due to Princess Lin'an and then confined at home. Upon Emperor Huizong's ascension to the throne of the Ming Dynasty, Li Qi was granted clemency and sent to oversee Jiangpu (Chinese:江浦). When King Zhu Di commanded his forces to breach the city, Li Qi plunged into the water and perished.[3][4]