Li Jie is reborn as the grandson of a powerful official in the Ming Dynasty, only to discover that his grandfather is Li Shanchang, who is about to be executed along with his entire family in six months. Li Jie faces two choices: enjoy his remaining time before his family's execution or use his knowledge as a time traveler to save himself and his family. His best chance of survival is to marry a princess and become a prince consort, as the emperor is unlikely to harm his own family. However, with only six months left, this is a nearly impossible task.