《宋史·列传·卷五》
孝宗做皇子时，愭任蕲州防御使。
孝宗为皇子时，愭拜蕲州防御使。
When Emperor Xiaozong was still a prince, Wei was appointed as the Garrison Defence Commissioner of Qizhou.
<s>[INST] 将以下现代汉语文本改写为文言文: 孝宗做皇子时，愭任蕲州防御使。 [/INST] 孝宗为皇子时，愭拜蕲州防御使。</s>
将以下现代汉语文本改写为文言文: 孝宗做皇子时，愭任蕲州防御使。
user
孝宗为皇子时，愭拜蕲州防御使。
assistant