Fang Yanqian was surprised by his son's opinion, which, however, eventually turned out to be prophetic. When he was 17, he was successful at the imperial examination, and he became a military officer. He particularly impressed the deputy minister of civil service, Gao Xiaoji (高孝基). 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).
