In the mid-Ming Dynasty, the old emperor (actually Emperor Xianzong Zhu Jianshen, played by Song Yuncheng) was in a coma, and the matter of establishing an heir was unresolved. Crown Prince Zhu Youcheng (later appointed as the heir apparent and succeeded Emperor Xianzong after his death, played by Wang Defeng) and "Prince Qi" Zhu Jianyi coveted the throne and engaged in open and covert struggles. At this time, a series of murders broke out in the capital. The court ordered the Six Doors (a government agency in Beijing) to handle the case. Shen Ziming, the head of the Six Doors (Six Gates), initially wanted to smooth things over, but actually did not want his son Shen Lixing to be involved in the court intrigue. Therefore, he tried every means to prevent his son from entering the Six Doors. However, Shen Lixing could not bear to let the truth be buried, and with his extraordinary talent, he quickly solved the case by dissecting the mystery. But after solving the case, he was drawn into an even greater power struggle, thus setting the stage for a court intrigue.