Anyang (; an1.yang2) is a prefecture-level city in Henan province, China. The northernmost city in Henan, Anyang borders Puyang to the east, Hebi and Xinxiang to the south, and the provinces of Shanxi and Hebei to its west and north respectively.
It had a total population of 5,477,614 as of the 2020 census, 2,675,523 of whom lived in the built-up (or metro) area made of four urban districts and Anyang and Tangyin counties, now largely agglomerated with the city proper.
Anyang is the location of the ancient city of Yin, which was the capital of the Shang dynasty and the first stable capital of China. Henan once had the largest population in China.
Xiaonanhai, on the far western edge of the city, was home to prehistoric cavemen during the Stone Age. Over 7,000 artifacts (including stone tools and animal bone fossils) have been unearthed here, representing what has been dubbed the Xiaonanhai culture.
Around 2000 BC, the legendary sage-kings Zhuanxu and Emperor Ku are said to have established their capitals in the area around Anyang from where they ruled their kingdoms. Today their mausoleums are situated in Sanyang village south of Neihuang County.
At the beginning of the 14th century BC, King Pangeng of the Shang Dynasty established his capital north of the modern city on the banks of the Huan River. The city, known as Yin, was the first stable capital in Chinese history and from that point on the dynasty that founded it would also become known as the Yin Dynasty.
The capital served 12 kings in 8 generations including Wu Ding, under whom the dynasty reached the zenith of its power, until it was wiped out along with the dynasty that was founded by King Wu of the Zhou in 1046 BC.
Anyang's Tangyin County was the seat of Yue Village, the birthplace of the famous Song dynasty general, Yue Fei. This was also the historic home of Zhou Tong, Yue's military arts tutor (though fictional sources place him in Shaanxi).
The town was known as Zhangde (彰德) until 1912, when it was given its present name of Anyang, following the establishment of the Republic of China.