《梁书·列传·卷二十五》
出入太子的宫署多年，因脚病外出任鳄塞王友，调任晋安内史。
出入宫坊者历稔，以足疾出为湘东王友，迁晋安内史。
After serving in the Crown Prince's palace for many years, he was transferred to the position of Wang You of E塞 due to a foot disease, and transferred to the position of Neishi of Jin'an.
<s>[INST] Translate the following Classical Chinese text into modern Chinese: 出入宫坊者历稔，以足疾出为湘东王友，迁晋安内史。 [/INST] 出入太子的宫署多年，因脚病外出任鳄塞王友，调任晋安内史。</s>
Translate the following Classical Chinese text into modern Chinese: 出入宫坊者历稔，以足疾出为湘东王友，迁晋安内史。
user
出入太子的宫署多年，因脚病外出任鳄塞王友，调任晋安内史。
assistant