Lin Yuan, a modern history student, accidentally transmigrates to the Ming Dynasty in the 40th year of the Wanli reign, 1612, just 32 years before the dynasty's fall. Armed with an in-depth understanding of late Ming history, he tries to survive in this era and find a way home, but before long he is swept up in the tides of history.