《新五代史·附录·四夷附录第一》
阿保机乘机进入长城，攻陷城邑，俘虏那里的百姓，依仿唐的州县建城让他们住下。
阿保机乘间入塞，攻陷城邑，俘其人民，依唐州县置城以居之。
Abuji took the opportunity to enter the Great Wall, capture cities, take their people captive, and imitate Tang prefectures and counties to build cities for them to dwell.
<s>[INST] Translate the following Classical Chinese text into English: 阿保机乘间入塞，攻陷城邑，俘其人民，依唐州县置城以居之。 [/INST] Abuji took the opportunity to enter the Great Wall, capture cities, take their people captive, and imitate Tang prefectures and counties to build cities for them to dwell.</s>
Translate the following Classical Chinese text into English: 阿保机乘间入塞，攻陷城邑，俘其人民，依唐州县置城以居之。
user
Abuji took the opportunity to enter the Great Wall, capture cities, take their people captive, and imitate Tang prefectures and counties to build cities for them to dwell.
assistant