《新唐书·列传·卷十三》
大业末年，担任晋阳县令，和晋阳宫监裴寂相友善。
大业末，为晋阳令，与晋阳宫监裴寂善。
In the final years of the Daye reign period, he served as the magistrate of Jinyang County and became close friends with Pei Ji, the supervisor of Jinyang Palace.
<s>[INST] Convert the following English text into Classical Chinese: In the final years of the Daye reign period, he served as the magistrate of Jinyang County and became close friends with Pei Ji, the supervisor of Jinyang Palace. [/INST] 大业末，为晋阳令，与晋阳宫监裴寂善。</s>
Convert the following English text into Classical Chinese: In the final years of the Daye reign period, he served as the magistrate of Jinyang County and became close friends with Pei Ji, the supervisor of Jinyang Palace.
user
大业末，为晋阳令，与晋阳宫监裴寂善。
assistant