In the first year of the founding of the people (76), a county official in Anyi (in present-day west of Ping'an County, Haidong City, Qinghai) robbed the women of the Qiang tribe as wives, and the woman's husband killed the county official, and Zong Yan, the governor of Anyi County, chased them and chased them out of the border. Fearing being killed, the Qiang people of the same tribe killed Zong Yan together, and joined forces with the two tribes of Le Jie and Wu Liang to invade the border. Sun Chun, the Taishou of Longxi, sent troops engaged in Li Mu and Jincheng to assemble in Heluogu and engage the Beinan and other tribes, killing and capturing hundreds of people. The Court of the Eastern Han Dynasty also paid homage to the liao general Wu Tang (吴棠) to escort the Qiang colonel and garrison Anyi.
The following summer, Migo and his men gathered together to rebel. Jincheng Taishou Hao Chong chased after Miwu and fought in Ligu, where he was defeated and lost more than 2,000 men, and Hao Chong escaped on horseback. At this time, the various Qiang tribes and vassal states of Lu Shuihu all echoed with Miwu, and Wu Tang could not control the situation and was summoned and dismissed.
Wuwei Taishou Fu Yu replaced Wu Tang as a lieutenant and moved to Linqiang (present-day Huangyuan County, Qinghai) to garrison. Together with the feudal tribal leader Buqiao and more than 50,000 other people, Miwu invaded the counties of Longxi and Hanyang (治冀县, in present-day Gangu County, Tianshui City, Gansu). In August, the Eastern Han Court sent the general Ma Fang as the commander and the Lieutenant Geng Gong of Changshui as the deputy, leading the Northern Army's Five Schools of Yue Horse, Tun Horse, Infantry, Changshui, and Archery, as well as crossbowmen from various counties, totaling 30,000 people, to attack the Western Qiang people. Ma Fang and others broke through the Western Qiang in Ji County, captured more than 4,000 people, and lifted the siege of Lintao. Suoxi, Miwu, and others all surrendered, and only Buqiao and 20,000 other people did not surrender in Tunwangqu Valley (present-day western Min County, Gansu).
Ma Fang then built Suoxi City (present-day Meicheng Village, Meichuan Town, Min County, Gansu), moved the southern governor of Longxi to Suoxi City to garrison, and restored all the postings and earthen forts used to monitor the enemy situation. In the spring of the following year, Ma Fang defeated Buqiao, and more than 10,000 people surrendered. Soon, Ma Fang was transferred back to the imperial court, leaving Geng Gong to continue to pursue the Qiang who did not surrender, beheading and capturing more than a thousand people, and the thirteen Qiang tribes of Le Jie and Burn He surrendered. In the third year of Yuan He (86), Migo rebelled against his younger brother Nobugo and the various mixed tribes. In the autumn, When Hao wu led a light army to invade the border of Longxi, Li Zhang, the official in charge of the beacon fire in Longxi County, chased after Him and captured him alive. He said, "Just killing me will do no harm to the Qiang people." If I can be released alive, I promise that the Qiang people will withdraw all their troops and will no longer invade the border plugs. ”
Longxi Taishou Zhang Lun felt that What I said was reasonable, so he let him go. Keeping his promise, he immediately disbanded the Qiang people and returned to their original places of residence, and Miwu retreated to Guiyi City (present-day southwest of Xining, Qinghai) north of the Yellow River. Fu Yu did not want to lose his faith by crusading against Miwu, so he recruited the Qiang people, planning to let the various tribes of Qianghu attack each other. Qiang Hu refused, betrayed sai again, and once again surrendered to Miwu. In the first year of Zhang He (87), Fu Yu wrote a letter requesting that 5,000 people each from Longxi, Zhangye, and Jiuquan Counties be requisitioned, led by Taishou of each county, and 5,000 men from Hanyang and Jincheng, with a combined force of 20,000 troops, and agreed with the counties to attack Miwu together. He ordered the Longxi forces to occupy the south side of the Yellow River, and the troops of Zhangye and Jiuquan intercepted them to the west of Miwu.
Before the various armies could meet, Fu Yu's army advanced alone. After Migo knew, he moved the tribe and tent away. Fu Yu selected three thousand elite cavalry, pursued Miwu, and arrived at Sandu Valley (三都谷, in modern Wudu District, Longnan City, Gansu) south of Jianwei at night, only a few miles away from the enemy, preparing to attack Miwu after dawn. Miwu sent three hundred men to attack Fu Yu's barracks by night, and the soldiers in the camp were defenseless, all panicked and scattered, and fled in defeat. Fu Yu dismounted and fought with his own hands, killing more than ten enemies and eventually dying in battle, killing eight hundred and eighty men in the battle. By the time the troops of the counties arrived, the Qiang had already retreated. The Eastern Han court appointed Longxi Taishou Zhang Lu to succeed him as a lieutenant and lead 10,000 people to garrison Linqiang. Miwu killed Fu Yu, accustomed to gaining benefits at the border, and with the seven thousand infantry cavalry of various tribes, invaded the border of Jincheng.
Zhang Lu sent Sima Fang (this was not Sima Yi's father) to lead more than a thousand cavalry, together with Jincheng's troops, to fight Miwu at Mucheng Valley (present-day Bayanxia Village, Bayan Township, Huangyuan County, Qinghai), and defeated Miwu. Miwu asked for surrender through the interpreter, and Zhang Lu agreed. Miwu then led people of the same tribe to Linqiang County. Zhang Lu deployed his troops, held a meeting, and put the poison in the wine. After the Qiang people were drunk, Zhang Lu took matters into his own hands, ambushed the troops, killed more than 800 Qiang leaders, and cut off the heads of five people, including Miwu, to pay tribute to Fu Yu's grave. He also sent troops to attack the Qiang people in the valley, killing more than 400 people and capturing more than 2,000 people alive. When Miwu's son Mi Tang heard the news, he and his fellow tribes cried and shouted at Biansai, and then used their children and gold and silver to recruit and accept the Qiang people of various tribes, dissolve the past hatred, exchange hostages with each other, and unite with the tribes of Yanhe, Dangpan, and Dangkan.
Mitang led 5,000 men and horses to invade the western border of Longxi, and Taishou Kou and Mitang fought at Baishi. The situation in the Mitang Dynasty was unfavorable, and he led his men and horses back to the Big and Small Yu Valley, gathered the various Hu vassal states in the north, and joined the subordinate tribes, and the races and tribes were very strong for a while. Zhang Hong was unable to recruit The Tang Dynasty, and was later requisitioned for breaking the law, and the Eastern Han Court appointed Zhangye Taishou Deng Xun to take over as a lieutenant. The Mitang gathered more than 40,000 people from various tribes and agreed that after the Yellow River froze, it would cross the river to attack Deng Xun. Previously, the Hu people of the Xiaoyue clan were scattered in Sena, and there were two or three thousand cavalry who could fight, all of whom were brave and strong, and every time they fought with the Qiang, they were often able to win more with less, although they were at both ends of the rat, but the Han people often sheltered and used them. The Mi Tang and wuwei Qiang tribes joined forces with more than 10,000 horses, came to Saixia, did not dare to attack Deng Xun, and wanted to coerce the Hu people of the Yue clan first.
Deng Xun intervened to protect the Xiaoyue Hu people and prevent the two sides from fighting. The counselors all believed that the Qiang and Hu people attacked each other, which was beneficial to the Han Dynasty, and since the Yi people attacked the Yi people, they should not be prevented from fighting. Deng Xun said, "No. Now that Zhang Lu did not pay attention to credibility, the various tribes of the Qiang people made a big move. The reason why the Hu tribes are not satisfied is because we do not have enough love and credibility for them. Now, while they are in a critical situation, it may be useful to appease them with kindness. So he ordered the city gates and the garden gates of his own dwelling to be opened, and all the wives and children of the Hu people were driven in, and heavy guards were sent. The Qiang people robbed without harvest, and did not dare to approach the Hu tribes, so they retreated and left. The Hu people in Huangzhong said: "The Han Dynasty often wanted us to fight with each other, and now Deng Zhijun treats us with endear credibility and opens the door to take in our wives and children, so that we can be reunited with our parents." ”
Everyone bowed their heads happily and said, "We only listen to the orders of Deng Lingjun." Deng Xun then took in hundreds of brave young men and took them in as retinues. The custom of the Qiang and Hu people is to be ashamed of dying of illness, and whenever the illness reaches a critical juncture, they will commit suicide with a knife. When Deng Xun heard that there were seriously ill people, he arrested him and tied him up, did not give him a knife, sent doctors to treat him with medicine, and cured many people, and adults and children were very happy and grateful. Under the inspiration of Deng Xun, Mitang's uncle, Hao Wu, took his mother and more than 800 clansmen and surrendered from outside Cyprus. Deng Xun then recruited 4,000 Qin, Hu, and Qiang soldiers from Huangzhong and attacked Mitang at Shugu (present-day Bayan Village, Bayan Township, northwest of Huangyuan County, Qinghai), killing and capturing more than 600 people and capturing more than 10,000 horses, cattle and sheep.
The People of the Mitang Dynasty were scattered, so they left the Great Yu Valley and the Little Yu Valley and moved to the Po Yan Valley. In the spring of that year, Mitang wanted to return to his old place to engage in farming. Deng Xun sent six thousand men to Huangzhong and ordered Changshi Renshang to lead the order to sew leather to make boats, put them on rafts to cross the Yellow River, attack the powerful under the tent of The Tang Dynasty, and kill many prisoners. Taking advantage of the victory to pursue the north, it happened that Ren Shang and the others were attacked by the Qiang at night, so the Qiang hu people who voluntarily accompanied them defeated the Qiang people who sneaked in, killing more than 1,800 enemies, capturing 2,000 people, and capturing more than 30,000 horses, cattle and sheep. The Mitang tribe was almost wiped out, so he led the remnants to move the camp far away and went west for more than a thousand miles, and all the tribes that had previously belonged to him betrayed him. Deng Xun also used the method of rewarding bribes to divide and gradually disintegrate these tribes.
When the tribal leader Donghao came to kowtow to plead guilt, the rest of the tribes also knocked on the door and sent hostages to be attached. Deng Xun appeased and accepted those who came to the annexation, and his prestige was greatly established, so he dismissed the soldiers guarding the border and let them return to the original county, leaving only more than 2,000 prisoners without torture equipment, dispersing the border guantun fields, helping the poor to cultivate, and repairing the fortress of Chengguo. In the winter of the fourth year of Yongyuan (92), Deng Xun died of illness, and Nie Shang, the Taishou of Shu Commandery, took over as a lieutenant. Nie Shang saw that his predecessors had repeatedly consulted and it was difficult to subdue the Qiang tribes, so he wanted to use Wende to make the Qiang people submit, so he sent a messenger to greet Mi Tang and let him return to live in the Big and Small Yu Valley. After The Tang Dynasty returned, he sent his grandmother Bei Que to Nie Shang's place, and Nie Shang personally sent Pei Que to the border pass to sacrifice the road god and set up a banquet to send her off, and sent the interpreter Tian Feng and five other people to escort her to the tribe. However, Mitang took this opportunity to rebel, and even joined other tribes to dismember Tian Feng and others alive, and used their blood pact oath to invade jincheng biansai again.
In the fifth year of Yongyuan (93), Nie Shang was requisitioned and dismissed from his post, and Juyan Du took over as a lieutenant. Guanyou believed that it would be difficult for the Mitang to be morally indoctrinated, and that they would eventually rebel, so he sent messengers to sow discord among the Qiang tribes, lure them with property, and let the Qiang alliance disintegrate on its own. After that, Guanyoucai sent troops out to attack The Mitang in the Big and Small Yu Valley, killed and captured more than 800 Qiang people, harvested tens of thousands of wheat, and built a castle on both sides of the Fengliu River (between present-day Guide County and Jianzha County in Qinghai), built large boats, and built bridges over the Yellow River, intending to let the army cross the river to attack the Mitang. The Mitang then led the tribe away and lived in the Zhizhi River Qu (present-day Southern Huanghe, Hainan Tibetan Autonomous Prefecture, Qinghai). In the eighth year of Yongyuan (96), Guanyou died of illness, and Hanyang Taishou Shichong took over as a lieutenant. After Shi Chong took office, he dispatched Qiang Hu in Huangzhong to attack Mitang at border passes. The Qiang fought and defeated Shi Chong's troops, killing hundreds of men. The following year, Shi Chong was recruited for his crimes, and Dai gun Taishou Wu Zhi took over as a lieutenant.
In the autumn of that year, Mitang led 8,000 people to invade Longxi, killing hundreds of people, and then taking advantage of the victory to go deeper and force all the Qiang tribes in the territory to invade together. The Qiang tribes all echoed the Mitang, gathered 30,000 infantry cavalry, defeated Longxi's troops, and killed the Great Xia. The Eastern Han Court sent liu shang as the commander of the western expedition and Zhao Dai as the deputy lieutenant of the Yue Cavalry Colonel, leading the fifth battalion of the Northern Army, Liyang, Yongying, and the soldiers who could find and shoot, as well as the border troops and the Qiang people Hu people, a total of 30,000 people, to conquer the Tang Dynasty. Liu Shang garrisoned Di Dao, and Zhao Dai garrisoned Baohan. Liu Shang sent Sima Kou to supervise the troops of the counties, and the four sides met at the same time. Confused was frightened, and left the old and infirm people behind and fled to the south of Lintao. Liu Shang and the others pursued them all the way to Gaoshan (高山; present-day western Yanting County, Sichuan). Impoverished and embarrassed, the Mi Tang led the elite men and horses to fight with the Han army, and was killed by Kou Xu of more than a thousand people, obtaining more than 10,000 cattle, horses and sheep. Mitang retreated. The Han army also suffered many casualties, and did not have the ability to pursue any more, so it retreated to biansena.