Around BC 154 1 year, Tang's eldest grandson Tai Jia ascended the throne with the help of Yi Yin, an old minister of Shang Dynasty. After Tai Jia proclaimed himself emperor, he did not abide by the legal system established by his ancestors. He is arrogant, indifferent to the people's suffering, greedy for pleasure and cruel to his subjects. Yi Yin repeatedly advised him to be diligent and love the people, but he did not listen to Yi Yin's advice and went his own way.
In the third year of Tai Jia, Yi Yin locked Tai Jia in a palace on the outskirts to let him think behind closed doors, while Yi Yin himself was the regent of the country and acted as the son of heaven.
Tai Jia lived in Tonggong and saw his grandfather as the founding king, but his grave was very humble. He also learned a lot about his grandfather's hard work, kindness and frugality from the grave keeper. Compared with what he did, he felt really shameful, so he secretly felt guilty and determined to repent, and began to care about the lonely and old, abide by the legal system, and be kind to people in the children's palace.
Three years later, Yi Yin was very happy to see that Tai Jia sincerely repented, so he led the minister of civil and military affairs, carried the royal clothes and crown, welcomed Du Fu back and returned to his own administration.
From then on, Tai Jia took his past mistakes as a mirror, went to court early, worked hard and loved the people. Abide by the laws formulated by the Tang Dynasty, managed the world in an orderly way, and the Shang Dynasty gradually flourished. Yi Yin is happy to see Tai Jia become a monarch, and wrote an article on Tai Jia Xun to praise him, calling him Taizong.