Shen Kuo (; 1031–1095) or Shen Gua, courtesy name Cunzhong (存中) and pseudonym Mengqi (now usually given as Mengxi) Weng (夢溪翁), was a Chinese polymathic scientist and statesman of the Song dynasty (960–1279). Excelling in many fields of study and statecraft, he was a mathematician, astronomer, meteorologist, geologist, entomologist, anatomist, climatologist, zoologist, botanist, pharmacologist, medical scientist, agronomist, archaeologist, ethnographer, cartographer, geographer, geophysicist, mineralogist, encyclopedist, military general, diplomat, hydraulic engineer, inventor, economist, academy chancellor, finance minister, governmental state inspector, philosopher, art critic, poet, and musician. He was the head official for the Bureau of Astronomy in the Song court, as well as an Assistant Minister of Imperial Hospitality. At court his political allegiance was to the Reformist faction known as the New Policies Group, headed by Chancellor Wang Anshi (1021–1085).