During the Wanli era of the Ming Dynasty, the court was beset by troubles at home and abroad. The Flying Dagger School, a martial arts school in Gulong Town, also fell into decline amid the wars. Its master, Li Feidao, and his two last disciples, Wan Lifeng and Niu Dachun, lived a quiet life, keeping out of worldly affairs. But their peaceful days did not last. Li Feidao's sworn brother, Guo Jingming, leader of a rebel army, entrusted his daughter, Guo Yingying, to Li's care. Meanwhile, Li's childhood friend and junior martial arts sister, Niu Wanjun, whom the emperor had chosen as a consort, fled palace intrigues and sought refuge at the Flying Dagger School with her daughter, Qianqian, and the eunuch Xiao Shunzi.