《梁书·本纪·卷一》
服丧期满，任太子庶子、给事黄门侍郎，入宫廷与台省值班。
服阕，除太子庶子、给事黄门侍郎，入直殿省。
After the mourning period ended, he served as Deputy Prince, Assistant Imperial Secretariat, and served in the palace and provincial offices.
<s>[INST] 请将下面的文言文翻译成英语: 服阕，除太子庶子、给事黄门侍郎，入直殿省。 [/INST] After the mourning period ended, he served as Deputy Prince, Assistant Imperial Secretariat, and served in the palace and provincial offices.</s>
请将下面的文言文翻译成英语: 服阕，除太子庶子、给事黄门侍郎，入直殿省。
user
After the mourning period ended, he served as Deputy Prince, Assistant Imperial Secretariat, and served in the palace and provincial offices.
assistant