Qi Jiguang (1528-1588), courtesy name Yuanjing, studio name Nantang, of Dengzhou in Shandong, heir of a military house, was the mid-Ming's great general against the wokou and on the northern frontier. As the pirate blazes of the Jiajing years swept the southeast, he was posted to Zhejiang; finding the garrison troops useless, he recruited three thousand miners and farmers at Yiwu and drilled the 'Qi Family Army' to iron discipline, devising the 'mandarin-duck array' of long and short weapons in mutual support, wolf-brush and matchlock in concert. The Taizhou campaign of 1561 took nine victories in nine battles, a thousand-odd captured and slain; moving at once to Fujian, he broke the nests at Hengyu, Pinghaiwei and Xianyou, and by 1565, joined with Yu Dayou, had swept the southeast's pirate trouble essentially clean. In the Longqing years he shifted north to Jizhou, directing training over a decade — rebuilding and thickening the Great Wall, raising the hollow watchtowers, drilling the wagon camps and cavalry, till the Mongol horse dared not test the line — with Grand Secretary Zhang Juzheng's weight behind him. Zhang's death brought his own eclipse: shifted to a sinecure in Guangdong, he died poor and ill in 1588. His 'New Book of Effective Discipline' and 'Veritable Record of Training' wrote battlefield experience into a replicable drill — the later art of war's canon — and his mixed cold-and-fire tactics stand at the hinge of China's military history.