Answer
The answer is that Shen Kuo, a Chinese scientist during the Song dynasty, discovered magnetic declination. This refers to the deviation of a compass needle from true north due to the Earth's magnetic field. Shen noted this phenomenon and its variation at different locations, advancing the understanding of geomagnetism. His findings contributed to the improvement of navigation techniques and accuracy during that time.