《南史·列传·卷二十一》
孝武帝即位以后，担任尚书右仆射。
及即位，爲尚书右仆射。
After Emperor Xiaowu ascended to the throne, Wang Sengda served as the Right Assistant Secretary.
<s>[INST] Translate the following Classical Chinese text into English: 及即位，爲尚书右仆射。 [/INST] After Emperor Xiaowu ascended to the throne, Wang Sengda served as the Right Assistant Secretary.</s>
Translate the following Classical Chinese text into English: 及即位，爲尚书右仆射。
user
After Emperor Xiaowu ascended to the throne, Wang Sengda served as the Right Assistant Secretary.
assistant