神爵中,西羌反,強弩將軍許延壽請延年為長史,從軍敗西羌,還為涿郡太守。 During the Qiang wars he served Xu Yanshou as chief clerk, helped smash the tribes, and became governor of Zhuo.