 However, it appeared that he did not serve long, as his father became ill, and the illness lasted 10 years, during which Fang Xuanling attended to him earnestly.After his father's death, he fasted for five days.He later became the magistrate of Xicheng County (隰城, in modern Lüliang, Shanxi).