《南史·列传·卷三十二》
起用为都官尚书，转任侍中，代替儿子张淹兼任太子右卫率。
起爲都官尚书，转侍中，代子淹领太子右卫率。
He was then appointed as Minister of the Office of Imperial Clan Affairs, then became a Chamberlain and, in place of his son Zhang Yan, concurrently served as the right defender of the Crown Prince.
<s>[INST] Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 起爲都官尚书，转侍中，代子淹领太子右卫率。 [/INST] Modern Chinese: 起用为都官尚书，转任侍中，代替儿子张淹兼任太子右卫率。 English: He was then appointed as Minister of the Office of Imperial Clan Affairs, then became a Chamberlain and, in place of his son Zhang Yan, concurrently served as the right defender of the Crown Prince.</s>
Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 起爲都官尚书，转侍中，代子淹领太子右卫率。
user
Modern Chinese: 起用为都官尚书，转任侍中，代替儿子张淹兼任太子右卫率。 English: He was then appointed as Minister of the Office of Imperial Clan Affairs, then became a Chamberlain and, in place of his son Zhang Yan, concurrently served as the right defender of the Crown Prince.
assistant