the Ming had failed to gain clear upper-hand over the Manchurian ang Mongolian tribes after successive battles, and the long conflict was taking a toll on the emprise. The Ming adopted a new stragegy to keep the nomadic tribes out by constructing walls along the northern border of China.