When working in the desert, archeologist Yun Ye (Wang Tian Chen) suddenly gets transported back to the Tang dynasty. There he meets Li An Lan (Zhang Jia Ning) who looks exactly like his former girlfriend. He repeatedly uses skills learned in the modern world to save An Lan and surrounding people from danger. People start to appreciate him and he even becomes best friends with the crown prince. But then he gets drawn into a huge conspiracy.