Li Hui, a modern female historian, accidentally traveled to the Wanli period of the Ming Dynasty while studying the history of Qin Liangyu, and became Qin Liangyu who was about to marry Ma Qiancheng, the envoy of Xuanfu of Shili. Relying on modern historical knowledge and military theory, she assisted her husband in quelling the Yang Yinglong rebellion in Bozhou, showing extraordinary military talent. However, Ma Qiancheng was framed by a traitor and died unjustly in prison. Li Hui (Qin Liangyu) was forced to take over her husband's duties and struggled to gain a foothold in a patriarchal society. Not only did she have to face power struggles and suspicions within the court, but she also had to fend off the invasion of the Later Jin Dynasty (Qing Dynasty) and rebellions everywhere. In the bloody battle of Hunhe River, the suppression of the She Chongming Rebellion, and the fight against Zhang Xianzhong, she led the army as a woman and repeatedly performed extraordinary feats, but she always faced confusion of identity and emotional loneliness. When the Ming Dynasty came to an end, she had to choose whether to continue fighting with the Southern Ming court or to save the people of Shili. In troubled times, she not only had to protect her family and territory, but also had to make difficult choices between loyalty and survival, love and responsibility, and eventually became the only female general in history to be officially recorded, writing a legendary life.