During the Hongwu era of the Ming Dynasty, Nian Li's family was framed because they were merchants and forced to flee. Admiring Prince Yan Zhu Di, Nian Li resolved to join the army, where her talents soon began to shine. At first, her superiors showed her little favor, but after many ups and downs, she caught the eye of her patron, Zhang Yu, who recommended her. She went on to earn countless merits. A Daoist priest named Yuan Hong also predicted to Prince Yan that Nian Li would one day become a capable eunuch who would help the emperor usher in an age of everlasting prosperity. Prince Yan only half believed him, but began to regard Nian Li in a different light. After the death of Ming Taizu Zhu Yuanzhang, his grandson Zhu Yunwen took the throne and began stripping the princes of their power. To protect himself, Prince Yan Zhu Di launched a rebellion and led his generals south. Nian Li and the others followed the Yan army's banner, risking their lives in battle, and at last helped Prince Yan Zhu Di ascend the imperial throne. The empire was forged, and she became the glorious Lord of Nine Thousand Years, fulfilling that incredible prophecy.