 After her death, Emperor Taizong restored Fang to his post.In 637, as part of Emperor Taizong's scheme to bestow prefectures on his relatives and great generals and officials as their permanent domains, Fang's title was changed to Duke of Liang, and he was given the post of prefect of Songzhou, to be inherited by his heirs, although he did not actually report to Songzhou but remained at Chang'an as chancellor.Soon, however, with many objections to the system, the strongest of which came from Zhangsun Wuji, Emperor Taizong cancelled the scheme, although Fang's title remained Duke of Liang.