From about 1040 AD, Shen's family moved around Sichuan province and finally to the international seaport at Xiamen, where Shen's father accepted minor provincial posts in each new location. Shen Zhou also served several years in the prestigious capital judiciary, the equivalent of a national supreme court. Shen Kuo took notice of the various towns and rural features of China as his family traveled, while he became interested during his youth in the diverse topography of the land. He also observed the intriguing aspects of his father's engagement in administrative governance and the managerial problems involved; these experiences had a deep impact on him as he later became a government official. Since he often became ill as a child, Shen Kuo also developed a natural curiosity about medicine and pharmaceutics.