After transmigrating into a novel, Song Keke assassinates the tyrant Xiao Heng, causing their souls to swap bodies. She governs the empire as the emperor, while he eliminates treacherous ministers as the imperial favorite. They gradually fall in love while joining forces to defeat the rebel Xiao Han and the southern barbarian forces. They confess their feelings and reunite, only to switch back to their original bodies. After quelling the rebellion, their souls travel through time again when they spend the night together, leaving the story unfinished.