Qin established seven counties in Jiangxi, all of them administered from the commandery seat of Jiujiang, located north of the Yangzi in modern Anhui. All of the commandery seats were located along the Gan River system. Most were no more than a day or two separated and protected one of the Qin routes to the newly incorporated territories further south in Nanhai (modern Guangzhou). Military settlements were known to have existed at least two of the counties. The Qin colonisation formed the earliest settlement structure in Jiangxi and which for the most part, has survived to the present day. The commandery of Yuzhang () was established in northern Jiangxi at the beginning of the Han dynasty, possibly before the death of Xiang Yu in 202 BC. In 201, eight commanderies were added to the original seven of Qin, and three more were established in later years. Throughout most the Han the commandery's eighteen counties covered most of the modern province of Jiangxi. The county seats of Nanchang, Gan, Yudu, Luling among others are located directly on modern municipalities. Others counties, however, have been moved and abolished in later centuries. In 291 AD, during the Western Jin dynasty, Jiangxi became its own zhou called Jiangzhou (). During the Northern and Southern dynasties, Jiangxi was under the control of the southern dynasties, and the number of zhou slowly grew. During the Sui dynasty, there were seven commanderies and twenty-four counties in Jiangxi. During the Tang dynasty, another commandery and fourteen counties were added. Commanderies were then abolished, becoming zhou (henceforth translated as "prefectures" rather than "provinces"). Circuits were established during the Tang dynasty as a new top-level administrative division. At first Jiangxi was part of the Jiangnan Circuit (lit. "Circuit south of the Yangtze"). In 733, this circuit was divided into western and eastern halves. Jiangxi was found in the western half, which was called Jiangnanxi Circuit (lit. "Western circuits south of the Yangtze"). This is the source of the modern name "Jiangxi". As a circuit, Jiangnanxi contained eight prefectures (zhou): Six prefectures and four military prefectures (軍 jun) replaced the previous prefectures (with fifty-five counties). The Tang dynasty collapsed in 907, heralding the division of the Five Dynasties and Ten Kingdoms period. Jiangxi first belonged to Wu (), then to Southern Tang (). Both states were based in modern-day Nanjing, further down the Yangtze River. During the Song dynasty, Jiangnanxi Circuit