Taiyuan is the capital and largest city of North China's Shanxi province. At the 2010 census, it had a total population of 4,201,591 inhabitants on 6,959 km2, from whom 3,212,500 are urban on 1,460 km2. The name of the city literally means "Great Plains", referring to the location where the Fen River leaves the mountains.