Title: History of the Great Wall of China
Content:  After the Tang dynasty ended in 907, the northern frontier area remained out of Han Chinese hands until the establishment of the Ming dynasty in 1368. During this period, non-Han "conquest dynasties" ruled the north: the Khitan Liao dynasty (907–1125) and the succeeding Jurchen Jin dynasty (1115–1234) in the east and the Tangut Western Xia (1038–1227) in the west, all of which had built walls against the north.
Title: History of the Great Wall of China
Content:  Following the end of the Han dynasty in 220, China disintegrated into warlord states, which in 280 were briefly reunited under the Western Jin dynasty (265–316). There are ambiguous accounts of the Jin rebuilding the Qin wall, but these walls apparently offered no resistance during the Wu Hu uprising, when the nomadic tribes of the steppe evicted the Chinese court from northern China. What followed was a succession of short-lived states in northern China known as the Sixteen Kingdoms, until they were all consolidated by the Xianbei-led Northern Wei dynasty (386–535).
Title: History of the Great Wall of China
Content:  Han Chinese power during the tumultuous post-Tang era was represented by the Song dynasty (960–1279), which completed its unification of the Chinese states with the conquest of Wuyue in 971. Turning to the north after this victory, in 979 the Song eliminated the Northern Han, ultimate successors to the Later Jin, but were unable to take the Sixteen Prefectures from the Liao dynasty. As a result of Song's military aggression, relations between the Song and Liao remained tense and hostile. One of the battlegrounds in the Song–Liao War was the Great Wall Gap (長城口), so named because the southern Yan wall of the Warring States period crossed the Juma River here into Liao territory. The Great Wall 
Title: Great Wall of China
Content:   The Chinese were already familiar with the techniques of wall-building by the time of the Spring and Autumn period between the 8th and 5th centuries BC. During this time and the subsequent Warring States period, the states of Qin, Wei, Zhao, Qi, Han, Yan, and Zhongshan all constructed extensive fortifications to defend their own borders. Built to withstand the attack of small arms such as swords and spears, these walls were made mostly of stone or by stamping earth and gravel between board frames.  King Zheng of Qin conquered the last of his opponents and unified China as the First Emperor of the Qin dynasty ("Qin Shi Huang") in 221 BC. Intending to impose centralized rule and prevent the resurgence of feudal lords, he ordered the destruction of the sections of 
Title: History of the Great Wall of China
Content:  The history of the Great Wall of China began when fortifications built by various states during the Spring and Autumn (771–476BC) and Warring States periods (475–221BC) were connected by the first emperor of China, Qin Shi Huang, to protect his newly founded Qin dynasty (221–206BC) against incursions by nomads from Inner Asia. The walls were built of rammed earth, constructed using forced labour, and by 212 BC ran from Gansu to the coast of southern Manchuria. Later dynasties adopted different policies towards northern frontier defense. The Han (202BC – 220AD), the Northern Qi (550–574), the Jurchen Jin (1115-1234), and particularly the Ming (1369–1644) were among those 
Title: History of the Great Wall of China
Content:  up by the 441BC, and the extant portions in Shandong province had been christened the Great Wall of Qi. The State of Wei built two walls, the western one completed in 361 BC and the eastern in 356 BC, with the extant western wall found in Hancheng, Shaanxi. Even non-Chinese peoples built walls, such as the Di state of Zhongshan and the Yiqu Rong, whose walls were intended to defend against the State of Qin. Of these walls, those of the northern states Yan, Zhao, and Qin were connected by Qin Shi Huang when he united the Chinese states in 221 BC. The walls, 
Title: Jin dynasty (1115–1234)
Content:   In order to prevent incursion from the Mongols, a large construction program was launched. The records show that two important sections of the Great Wall were completed by the Jurchens. The Great Wall as constructed by the Jurchens differed from the previous dynasties. Known as the Border Fortress or the Boundary Ditch of the Jin, it was formed by digging ditches within which lengths of wall were built. In some places subsidiary walls and ditches were added for extra strength. The construction was started in about 1123 and completed by about 1198. The two sections attributable to the Jin dynasty are known as the Old Mingchang Walls and New Great Walls, together stretching more than 2,000 kilometres in length.
Title: History of the Great Wall of China
Content:  When the Jurchens, once Liao vassals, rose up to overthrow their masters and established the Jin dynasty, they continued Liao's wall-building activities with extensive work begun before 1138. Further wall construction took place in 1165 and 1181 under the Jin Emperor Shizhong, and later from 1192 to 1203 during the reign of his successor Emperor Zhangzong. This long period of wall-building burdened the populace and provoked controversy. Sometime between 1190 and 1196, during Zhangzong's reign, the high official Zhang Wangong (張萬公) and the Censorate recommended that work on the wall be indefinitely suspended due to a recent drought, noting: "What has been begun is already being flattened by sandstorms, and bullying the people into defence works will simply exhaust them." However, Chancellor Wanyan Xiang (完顏襄) convinced the emperor of the walls' merits based on an optimistic cost estimate – "Although the initial outlay 
Title: History of the Great Wall of China
Content:  gates of Shanhai Pass and replaced the most ardent of the wall-building dynasties, the Ming, as rulers of China. The Great Wall of China visible today largely dates from the Ming dynasty, as they rebuilt much of the wall in stone and brick, often extending its line through challenging terrain. Some sections remain in relatively good condition or have been renovated, while others have been damaged or destroyed for ideological reasons, deconstructed for their building materials, or lost due to the ravages of time. For long an object of fascination for foreigners, the wall is now a revered national symbol and a popular tourist destination.
Title: History of the Great Wall of China
Content:  when the Han throne was usurped by the minister Wang Mang in 9AD, beginning a brief 15-year interregnum known as the Xin dynasty (9–23). Despite high tensions between the Xin and the Xiongnu resulting in the deployment of 300,000 men on the Great Wall, no major fighting broke out beyond minor raids. Instead, popular discontent led to banditry and, ultimately, full-scale rebellion. The civil war ended with the Liu clan on the throne again, beginning the Eastern Han dynasty (25–220). The restorer Emperor Guangwu (r.25–57AD) initiated several projects to consolidate his control within the frontier regions. Defense works were established to the east of 

Question: what dynasty completed the great wall of china?
Answer: Qin.
Ming dynasty.
Qing.