Wei Qing
In the autumn of 129 BC, a Han force of 40,000 cavalrymen launched a surprise attack against the Xiongnu in the frontier markets, where masses of Xiongnu people visited to trade. In 128 BC, General Wei Qing led 30,000 men to battle at the regions north of Yanmen and came out victorious. The next year (127 BC), the Xiongnu invaded Liaoxi, killing its governor, and advanced towards Yanmen. Han Anguo mobilized 700 men, but was defeated and withdrew to Yuyang. Thereafter, Wei Qing moved out with a force and captured some Xiongnu troops, causing the main force of the Xiongnu to withdraw. Meanwhile, Li Xi had led a force across the frontier and also captured some of the Xiongnu troops.