《资治通鉴·秦纪·秦纪一》
再以后，燕国的将领秦开因曾在东胡作过人质，深得东胡的信任，返回燕国后率军袭击东胡，大破东胡兵，迫使它向北退却了一千多里。燕国于是也在造阳至襄平一线筑起长城，同时设置上谷、渔阳、右北平、辽东等郡，以抵御胡人的攻掠。
其后燕将秦开为质于胡，胡甚信之；归而袭破东胡，东胡却千馀里；燕亦筑长城，自造阳至襄平，置上谷、渔阳、右北平、辽东郡以距胡。
Later, the Yan general Qin Kai, who had been a hostage of the Dong Hu, was subsequently able to gain the trust of that tribe, and upon returning to Yan led troops to attack the Dong Hu, inflicting a major defeat that forced it to retreat north by over a thousand miles. Yan then also built the Great Wall from Zaoyang to Xiangping and established Shanggu, Yuyang, Youbeiping, and Liaodong counties to resist Hu invasion.
<s>[INST] Translate the following Classical Chinese text into English: 其后燕将秦开为质于胡，胡甚信之；归而袭破东胡，东胡却千馀里；燕亦筑长城，自造阳至襄平，置上谷、渔阳、右北平、辽东郡以距胡。 [/INST] Later, the Yan general Qin Kai, who had been a hostage of the Dong Hu, was subsequently able to gain the trust of that tribe, and upon returning to Yan led troops to attack the Dong Hu, inflicting a major defeat that forced it to retreat north by over a thousand miles. Yan then also built the Great Wall from Zaoyang to Xiangping and established Shanggu, Yuyang, Youbeiping, and Liaodong counties to resist Hu invasion.</s>
Translate the following Classical Chinese text into English: 其后燕将秦开为质于胡，胡甚信之；归而袭破东胡，东胡却千馀里；燕亦筑长城，自造阳至襄平，置上谷、渔阳、右北平、辽东郡以距胡。
user
Later, the Yan general Qin Kai, who had been a hostage of the Dong Hu, was subsequently able to gain the trust of that tribe, and upon returning to Yan led troops to attack the Dong Hu, inflicting a major defeat that forced it to retreat north by over a thousand miles. Yan then also built the Great Wall from Zaoyang to Xiangping and established Shanggu, Yuyang, Youbeiping, and Liaodong counties to resist Hu invasion.
assistant