《明史·列传·卷二百一十五》
李文忠到兴和时，活捉了平章竹贞，又在骆驼山大破元兵，于是朝应昌进发，还末到应昌时，李文忠获悉元朝皇帝已死，便包围了应昌城，并把它攻克下来，俘虏了元朝皇帝的孙子买的里八剌和他的妃嫔、大臣，缴获了许多宝石和图画书籍。
文忠至兴和，擒平章竹贞，复大破元兵于骆驼山，遂趋应昌。未至，知元主已殂，进围其城，克之。获元主孙买的里八剌及其妃嫔、大臣、宝玉、图籍。
When Li Wen Zhong reached Xinghe, he captured Pingzhang Zhu Zhen alive, and at Mount Luotuo he routed the Yuan forces in a major engagement, and so pressed on toward Yingchang. Before he had reached Yingchang, Li Wen Zhong learned that the Yuan Dynasty emperor had already died, so he surrounded the city of Yingchang and captured it, taking the Yuan Dynasty emperor's grandson Buyangerbaola and his concubines and ministers as prisoners, and seizing a great many jewels and illustrated books.
<s>[INST] Translate the following Classical Chinese text into modern Chinese: 文忠至兴和，擒平章竹贞，复大破元兵于骆驼山，遂趋应昌。未至，知元主已殂，进围其城，克之。获元主孙买的里八剌及其妃嫔、大臣、宝玉、图籍。 [/INST] 李文忠到兴和时，活捉了平章竹贞，又在骆驼山大破元兵，于是朝应昌进发，还末到应昌时，李文忠获悉元朝皇帝已死，便包围了应昌城，并把它攻克下来，俘虏了元朝皇帝的孙子买的里八剌和他的妃嫔、大臣，缴获了许多宝石和图画书籍。</s>
Translate the following Classical Chinese text into modern Chinese: 文忠至兴和，擒平章竹贞，复大破元兵于骆驼山，遂趋应昌。未至，知元主已殂，进围其城，克之。获元主孙买的里八剌及其妃嫔、大臣、宝玉、图籍。
user
李文忠到兴和时，活捉了平章竹贞，又在骆驼山大破元兵，于是朝应昌进发，还末到应昌时，李文忠获悉元朝皇帝已死，便包围了应昌城，并把它攻克下来，俘虏了元朝皇帝的孙子买的里八剌和他的妃嫔、大臣，缴获了许多宝石和图画书籍。
assistant