Lin Wansheng, a top student in the Department of Modern History, was involved in a rift in time and space by a sudden burst of blue light from the pages of an ancient book while repairing it. She woke up as the frail and sick daughter of the Taifu of the Dajing Dynasty. At this time, the Taifu Mansion was trying to cling to the powerful and wanted to marry her to the cruel and murderous third prince as a concubine. In a desperate situation, Lin Wansheng accidentally discovered the secret of Gu Muyu, the king of Jing'an who held a heavy army, and was forced to reach a "cooperation contract" with him. Gu Muyu appears to be indifferent, but in fact he is burdened with royal suspicion and family blood feud. Lin Wansheng relies on modern historical knowledge and archaeological skills to help him resolve court plots and border crises many times. From being wary of each other to relying on each other for life and death, the two gradually fell in love in the whirlpool of power and intrigue, but were caught in a dilemma due to the reappearance of a rift in time and space - if Lin Wansheng stayed in Dajing, he would have to face the bloody changes in imperial power; if he returned to modern times, he would have to give up his affectionate bond with Gu Muyu. When the second prince and the prime minister join forces to launch a palace coup, and the door to time and space is opened in the flames of war, can they break the shackles of fate and protect the love that spans ancient and modern times?