 In 648, the "Book of Jin", the official history of Jin dynasty, with Fang as its lead editor, was completed.Also in 648, when Emperor Taizong was at another summer palace, Yuhua Palace (玉華宮, in modern Tongchuan, Shaanxi), he again left Fang in charge of Chang'an, when Fang grew ill. Emperor Taizong summoned him to Yuhua Palace and had the imperial servants attend to him.For a while, Fang got better, and then grew worse.