《明史·列传·卷七十九》
不久以右副都御史的名义巡抚云南，平定了十八寨造反的蛮人阿勿、阿寺等，奏准设立了永昌府，增设了五所长官司，五处防御所，登录战功，被荫封一子做官，但他推辞了，没有接受。
寻以右副都御史巡抚云南。讨平十八寨叛蛮阿勿、阿寺等，奏设永昌府，增五长官司、五守御所。录功，荫一子，辞不受。
Soon afterwards he was appointed the Inspecting Commissioner of Yunnan with the post of co-director of the Censorate, and pacified the rebel barbarians A Wu and A Si from Eighteen Villages. He memorialized and obtained the approval for the establishment of Yongchang Prefecture, as well as the expansion of five administrative headquarters and five defense centers. His military accomplishments were registered and he could have recommended one of his sons for an official post, but he declined and did not accept it.
<s>[INST] Translate the following Classical Chinese text into English: 寻以右副都御史巡抚云南。讨平十八寨叛蛮阿勿、阿寺等，奏设永昌府，增五长官司、五守御所。录功，荫一子，辞不受。 [/INST] Soon afterwards he was appointed the Inspecting Commissioner of Yunnan with the post of co-director of the Censorate, and pacified the rebel barbarians A Wu and A Si from Eighteen Villages. He memorialized and obtained the approval for the establishment of Yongchang Prefecture, as well as the expansion of five administrative headquarters and five defense centers. His military accomplishments were registered and he could have recommended one of his sons for an official post, but he declined and did not accept it.</s>
Translate the following Classical Chinese text into English: 寻以右副都御史巡抚云南。讨平十八寨叛蛮阿勿、阿寺等，奏设永昌府，增五长官司、五守御所。录功，荫一子，辞不受。
user
Soon afterwards he was appointed the Inspecting Commissioner of Yunnan with the post of co-director of the Censorate, and pacified the rebel barbarians A Wu and A Si from Eighteen Villages. He memorialized and obtained the approval for the establishment of Yongchang Prefecture, as well as the expansion of five administrative headquarters and five defense centers. His military accomplishments were registered and he could have recommended one of his sons for an official post, but he declined and did not accept it.
assistant