《明史·志·卷六十五》
宦官在关口城门投降，保卫京城的军队在城外被击溃，而国家于是就灭亡了。
宦竖降于关门，禁军溃于城下，而国遂以亡矣。
The eunuch surrendered at the gates of the mountain pass, the troops defending the capital were routed outside the city, and the nation was thus destroyed.
<s>[INST] 将以下英文转换为文言文: The eunuch surrendered at the gates of the mountain pass, the troops defending the capital were routed outside the city, and the nation was thus destroyed. [/INST] 宦竖降于关门，禁军溃于城下，而国遂以亡矣。</s>
将以下英文转换为文言文: The eunuch surrendered at the gates of the mountain pass, the troops defending the capital were routed outside the city, and the nation was thus destroyed.
user
宦竖降于关门，禁军溃于城下，而国遂以亡矣。
assistant