Dàtóng (Chinese: 大同; Wade–Giles: Ta-t'ung) is a prefecture-level city in northern Shanxi Province of North China, located a few hundred kilometres west by rail from Beijing with an elevation of 1,040 metres (3,410 ft). It has a population of 3,318,057 at the 2010 census of whom 1,447,150 live in the built up area made of 3 out of 4 urban districts (City, Mining and Nanjiao).