Chengzu ascended the throne, was promoted to the right assistant minister of the official department and was appointed as Dali Qing. With the rise of the military, Annan ordered Chen Qia to go to Guangxi to select soldiers to follow the expedition of Han Guan. When the army set out, he was ordered to praise military affairs and be responsible for transportation and expenses. Annan pacified and became the left assistant minister of the official department. At that time, Huangfu was in charge of administration and the affairs of the Second Division, and devoted himself to lenient policies to appease the people there. Chen Qia inspected and selected talents, rectified the army's style and discipline, assessed the merits and demerits of generals and soldiers, established a local official system, managed soldiers' rations, and analyzed and solved things very quickly. Back to the imperial court, he was ordered to act as the agent of does. In seven years, he joined Zhang Fu's army again to crusade against Jian Ding and put down the rebels. After returning, he followed the emperor to the north and trained with Zhang Fu outside the Great Wall. In nine years, he went to the address with Zhang Fu again to crusade against Chen Ji's expansion. Lived there for five years, was promoted to the Ministry of War history, and once again stayed to praise Bing Lin's military.
Renzong called Huangfu back to Beijing, sent Chen Qia to be responsible for the deployment and inspection of the second division, and still served as a military affairs counselor. The eunuch March was greedy and tyrannical, and Chen could not stop him. There are rebels everywhere, especially Li Li. However, Rongchangzhi is incompatible with the local government, and the arrogance of thieves and robbers is becoming more and more arrogant. Chen Qia said in a lecture: "Although bandits beg for surrender, they are playing tricks in their hearts and their henchmen are gradually thriving, so they will not be subdued. I beg you to tell the generals to wipe out the bandits quickly and don't be tempted by them. " Xuanzong issued letters, severely criticized Chen Zhi and others, ordered the March, and was defeated in Chalong Prefecture. The emperor then deprived Chen Zhi and Zheng Fang of their official positions. He ordered Chengshan Hou Tong to crusade with the seal of General Zheng Yi, and Chen Qia was still praising his military affairs. In September of the first year of Xuande, Wang Tong arrived at the address. 1 1 month March into Yingping and stay in Ningqiao. Chen Qia told the generals that the terrain was dangerous and I was afraid of an ambush. We should stop marching and observe the bandits. Wang Tong did not listen, but directly commanded the army to cross the river and fell into a quagmire. The army was defeated by an ambush. Chen Qia jumped on the horse and rushed into the robber's position. He was badly injured and fell off his horse. People around want to help him retreat. Chen Qiyuan opened his eyes and said, "As Minister of State, I have been paid for 40 years, and today I serve my country. I will never drag out an ignoble existence by sticking to morality. " He waved a broadsword, killed many thieves and bandits, and then committed suicide. When the story was reported, the emperor sighed and said, "How many ministers died in one generation?" Give the official a little insurance, the quantity is small. His son Chen Shu was appointed as a criminal case officer.