范仲淹
Military threats from the Liao Dynasty and Xi Xia in the north in 1040 caused Fan Zhongyan to come back into favor. Fan offered Ouyang a post as secretary, but Ouyang refused. Instead, in 1041 Ouyang obtained a position preparing a catalogue of the Imperial Library.