Lu Yuan traveled through time and became the magistrate of Beiliang County. With modern knowledge, he developed science and technology, trained troops and strengthened the country. He repeatedly defeated foreign enemies and expanded his power rapidly. Five years later, the empress Zhao Jianjia took her daughter Huanhuan to find a bride, and the two gradually fell in love. Lu Yuan relied on advanced technology to defeat the enemy many times, and his growing power aroused fear. Later, he joined hands to put down the rebellion, finally became the hegemon, and lived happily with the empress and daughter.