Yan Shuning, a modern graduate student in history, accidentally touches a mysterious jade pendant while studying ancient architecture in a library and transmigrates to the fictional Great Sheng Dynasty, where he becomes the son of Lord Yan, a vice minister of the Ministry of Works. Upon arriving in the past, his unusual clothes get him mistaken for a spy and hunted down. In his panic, he hides in Prince Jin’s carriage. The cold-faced prince, Qi Tianche, discovers that this “spy” can accurately point out safety hazards in the prince’s residence and decides to keep him there temporarily while investigating his identity. Yan Shuning uses his professional knowledge to avert an imminent roof collapse at the estate, arousing Qi Tianche’s keen interest.