Transfer to Northern Frontier
After the conclusion of the campaign against Wokou (倭寇, Japanese coastal pirates), Qi Ji Guang spent some time as the deputy general of
Shen Ji Ying (神機營) in Beijing, before being transferred to Ji Defence Region (薊鎮), taking charge of the military matters of Jizhou,
Changping and
Baoding. Despite having a much larger army under his command, all was not as well as it seemed—the command structure of the defence region was chaotic and inefficient, military equipment and fortifications in disrepair, and the troops were undisciplined, unmotivated and lacked training.
Bu Ying (步營) and the new Mandarin Duck Formation
Qi Ji Guang realised that he was now commanding a completely new army, gained access to new equipment while losing others, and most importantly, facing a completely new threat. Unlike the foot-slogging Wokou, the Mongols were a highly mobile mounted force, but had virtually no access to firearms. Qi Ji Guang modified the Mandarin Duck Formation accordingly, incorporating North China-specific equipment into the formation.
Bu Ying (步營, foot regiment) thus formed the infantry branch of Qi Ji Guang's new army.