Lin Fu, a modern young man, traveled through time and became a small county magistrate in ancient times. After seven years of management, he transformed the barren county into a paradise on earth, with novelty everywhere and the people living and working in peace and contentment. He originally wanted to be a free "local emperor", but unexpectedly received an emperor who visited him in private. The emperor was shocked when he first saw Taoyuan County, and soon he visited again with the prince. From then on, Lin Fu was forced to get involved in court disputes, relying on his intelligence to play tricks, and finally married the princess and climbed to the top of power.