After the fall of the Western Jin dynasty in 316, the belief began to slowly shift from the popular ideal that Wei was the rightful successor to the Han dynasty towards the alternative view that Shu may have had greater legitimacy. Likewise, before 316, Sima Yi was seen as a righteous figure and was practically deified; after 316, however, he started to be viewed in a more critical manner, which has lasted into the modern age, and which is exemplified by Li Shimin's (Emperor Taizong of Tang's) comment regarding Sima Yi from the "Book of Jin":