Shen Kuo (1031-1095), courtesy name Cunzhong, a native of Qiantang (Hangzhou), was a Northern Song statesman and scientist, jinshi of 1063. Early on he took part in the farmland and water-works programs of Wang Anshi's reforms, and as envoy to the Liao he beat back territorial claims over the Hedong borderlands by citing records and maps; as prefect of Yanzhou he won merit defending against Western Xia. Blamed for the defeat at Yonglecheng late in life, he withdrew to the Dream Brook garden at Runzhou (modern Zhenjiang), where around 1088 he completed the Dream Pool Essays in thirty fascicles. In notebook form the work mixes observation and research across more than six hundred entries: it records Bi Sheng's clay movable type, the only surviving primary source on the invention of movable-type printing; it notes that the magnetic needle 'always deviates slightly east', the first discovery of the compass's magnetic declination, about four hundred years before Europe; it treats accumulated-volumes and arc-length problems in mathematics, and the very word 'petroleum' is his coinage. In astronomy and the calendar he directed the Fengyuan calendar and proposed a 'twelve-term calendar' to reform the solar year. The book ranges further over antiquities, calligraphy and painting, music theory and frontier defense, winning the name 'a coordinate of the history of Chinese science'. A scholar-official who joined natural inquiry to practical administration, Shen Kuo stands as the supreme specimen of the ancient encyclopedic mind; he died at Runzhou in 1095.