《新五代史·列传·杂传第三十》
梁末帝时，任开封尹。
末帝时，为开封尹。
During the time of Liang Modi, he served in Kaifeng Yin.
<s>[INST] Transpose the following Modern Chinese text into Classical Chinese: 梁末帝时，任开封尹。 [/INST] 末帝时，为开封尹。</s>
Transpose the following Modern Chinese text into Classical Chinese: 梁末帝时，任开封尹。
user
末帝时，为开封尹。
assistant