Shensheng was the son of Qi Jiang, the first wife of Duke Xian of Jin. Because Duke Xian of Jin favored his concubine Li Ji, in 665 BCE he sent away three of his older sons. Shensheng was sent to live in Quwo, modernQuwo County in Shanxi. In 661 BCE, in order to ensure Shensheng's continued political isolation from the Jin court, Duke Xian split a branch off his army and made Shensheng its general, with the command to garrison Quwo. Three years later, Duke Xian officially replaced Shensheng as crown prince with Li Ji's son Xiqi. In 656 BCE, the Li Ji Rebellion started with the scheme that caused the suicide of Shensheng. Shensheng was asked to offer sacrifices to his deceased mother, Qi Jiang. Shensheng sent some of the food blessed by the gods to Duke Xian. Li Ji had secretly placed poison in the food in order to frame Shensheng for murder. Before Duke Xian began eating, he gave a part of the food to a dog to check for poison whereupon the dog immediately collapsed. Discovering the poison in the food, Duke Xian killed Shensheng's teacher Du Yuankuan sent men to Quwo to arrest Shensheng. Shensheng was advised to defend himself in front of Duke Xian by revealing Li Ji's plot. Shensheng replied that he wouldn't like to break his father's heart by revealing Li Ji's plot. When Chong'er advised him to escape, he replied that if he escaped it would appear as if he really had planned to kill his father, and no one in the world would protect him then. Shensheng subsequently hanged himself. Due to the filial piety and loyalty of Shensheng, he was given the posthumous title "Gong Taizi" or "Gong Shizi", both meaning "the respectful crown prince". According to the Records of the Grand Historian, Duke Hui of Jin disrespectfully transferred Shensheng's burial to another place which made the spirit of Shensheng angry. The spirit of Shensheng then appeared in front of the Jin official Hu Tu and told him that Shensheng has pleaded to the heavenly god to let the State of Qin conquer the State of Jin as a punishment. After persuasions made by Hu Tu, Shensheng replied that the heavenly god has allowed that Duke Hui of Jin be defeated in battle at the land of Han as a punishment. After that, the spirit disappeared.