In the second year of Jiading in the Southern Song Dynasty (AD 1209), Genghis Khan attacked Juyongguan. Because the nomads from the Yuan Dynasty were on the defensive, they could not attack for a long time. He suddenly took out his main force and went south to conquer Zijingguan, then captured Zhuozhou and Yizhou, and counterattacked Juyongguan from inside and outside the Great Wall. Under the attack from inside and outside, Juyongguan was finally conquered.
In the 14th year of Ming Dynasty (A.D. 1449), some soldiers of Mongolian Wala stormed along the Great Wall of Ming Dynasty, and captured the Emperor Ming Yingzong in Tumbao. Then, Yingzong went south from Datong and went straight to Zijingguan. After the conquest of Zijingguan, Wara soldiers marched straight into Kyoto, reaching Xizhimen in one breath, and almost wiped out the Ming Dynasty. Because Yu Qian, the left assistant minister of the Ministry of War, was not afraid of the enemy at present, he led a strict defense, strengthened the capital and mobilized reinforcements. He also had no hope of capturing Kyoto first, fearing that the Great Wall would be blocked by government forces, he broke his retreat and returned to the north of the Great Wall with Yingzong from Zijingguan.
At the end of the Ming Dynasty, Li Zicheng sent troops to Beijing; The bloody battles between the Boxer Rebellion and Eight-Nation Alliance in the Qing Dynasty mostly happened here. During the War of Resistance against Japanese Aggression period, Lieutenant General Abe, commander-in-chief of the Mongolian garrison in Zhangjiakou, was killed by the Eighth Route Army in South Huangtuling, Zijingguan. At present, Zijingguan is still an important traffic tunnel between Hebei and Shanxi, but the asphalt road has replaced the 18th Pangu Road, and the railway runs through mountains and streams.