Niu Mo, a modern office drone, is unexpectedly reborn in the early years of the Zhenguan era as Li Shimin's legitimate eldest son, lost among the common people for eighteen years, and Li Yuan's legitimate eldest grandson. When he wakes, the imperial family is searching for descendants of its lost line. He carries all his past life's knowledge of Tang history and unexpectedly awakens the Tang Investiture of the Gods System. It can appoint gods, bestow fortune, and resurrect the dead. From the start, it summons the female warrior Hua Mulan as his personal bodyguard. This unlikely duo sets off for Chang'an.
When he first arrives in Chang'an, Niu Mo has no one to rely on. The haughty Five Great Clans look down on his humble origins, belittle and obstruct him at every turn, and spread rumors to cast doubt on his identity, hoping to push him out of the imperial inner circle and preserve the aristocratic clans' control of the court. If his identity is rejected, he will not only lose his place in the world, but also repeat his past life's fate of dying in misery as a wanderer, let alone achieve his goal of changing the regrets of the Tang dynasty. Suspicion surrounds him, while undercurrents swirl within the imperial family over the position of Crown Prince. Drawing on the System's powers and his knowledge of the future, Niu Mo overcomes one crisis after another and earns the trust of Li Yuan, Li Shimin, and Empress Zhangsun.
As he gradually unlocks the authority to confer divine titles, Niu Mo resurrects Empress Dou, Li Jiancheng, and Li Xiuning, personally erasing the historical tragedy of the Xuanwu Gate Incident. He also cures the chronic illnesses of Empress Zhangsun and little Sizhi, and rids the founding heroes of the Tang dynasty of their ailments, making up for one historical regret after another. When the Five Great Clans see him wield divine authority over the rise and fall of nations, they immediately drop their pride and rush to curry favor with him, setting off one face-slapping spectacle after another.
But the old gods of the Three Realms refuse to see a new master of divine investiture rise in the mortal world. They give Niu Mo a final deadline of three hundred years, after which they will descend to purge the mortal realm of divine authority...