《周书·列传·卷三十七》
随从魏孝武帝入关，任给事黄门侍郎、尚书右丞。
从魏孝武入关，为给事黄门侍郎、尚书右丞。
He followed and accompanied Emperor Xiaowu of Wei to cross the pass, and served as Attendant-in-Ordinary of the Yellow Gate, Minister of the Right of the Secretariat.
<s>[INST] Convert the following modern Chinese text into Classical Chinese: 随从魏孝武帝入关，任给事黄门侍郎、尚书右丞。 [/INST] 从魏孝武入关，为给事黄门侍郎、尚书右丞。</s>
Convert the following modern Chinese text into Classical Chinese: 随从魏孝武帝入关，任给事黄门侍郎、尚书右丞。
user
从魏孝武入关，为给事黄门侍郎、尚书右丞。
assistant