Set during the Qianlong era of the Qing Dynasty, the story follows A-Gui (Sun Xing), a brawny but simple-minded warrior whose bravery and repeated battlefield triumphs earn him the envy and hatred of Heshen (Wang Gang) and his brother Helin (Li Yuze). Fortunately, Emperor Qianlong (Zhang Tielin) recognizes and approves of A-Gui's character and orders him transferred to the Grand Council. A-Gui, who has no love for books, recruits the hapless scholar Tang Danian (Guo Donglin)—whose horse he once seized—as his advisor, and through a twist of fate marries the clever and quirky Hongchou (Cao Ying). Yet life beside the emperor is no easy road: the Heshen brothers are voraciously corrupt and ruthless in purging dissenters; Tang Danian shifts with the wind and keeps his own little schemes; and the Beile and the Empress Dowager wield deep-rooted power that is hard to shake. Reckless and forever unable to grasp what is really going on, A-Gui is again and again swept into the whirlpool of power struggles...