The Datong Garrison was one of the Nine Garrisons established by the Ming dynasty to defend the northern border and Great Wall of China.