China is located in Asia and has a population of over 1.3 billion people, making it the most populous country. Its capital and largest city is Beijing. Shanghai, located near the East China Sea, is China's largest city and one of its biggest ports, with over 18 million residents. The Great Wall of China, at over 4,500 miles long, is the longest man-made structure in the world and one of the Seven Wonders. Chinese history is divided into dynasties, from the first Qin Dynasty founded in 221 BC to the last Qing Dynasty which ended in 1912.