Zhao Sanfa, a drifter, and Li Chuanwei, an imperial bodyguard injured while investigating a case, accidentally swap identities because they look alike. Li Chuanwei seizes the chance to infiltrate an anti-Qing organization and is entrusted with an important mission, while Chen Xin'er (Zhao Liying) and Zhao Sanfa enter the palace and become personal guards to Emperor Qianlong around the time of his abdication. Zhao Sanfa, a "hopeless amateur" with no martial arts skills at all, navigates between Qianlong, Jiaqing, and Heshen. Though their methods, status, and identities differ, they work together openly and in secret, helping Emperor Jiaqing eliminate Heshen at a critical moment and joining forces to thwart the Ming Sect's rebellion plot. At the same time, they rediscover a long-lost brotherly bond and each finds the one they love. As the power struggles at court and in the countryside become clearer, as Li Chuanwei's memory gradually returns, and as Zhao Sanfa gets drawn ever deeper, the two unconsciously draw closer to each other. At the same time, they gradually sense each other's presence. When Emperor Jiaqing is about to richly reward his meritorious officials, they leave the court and go off together to find the graves of their birth parents.