 During the 1899–1900 Boxer uprising, he served as a Warden of the Frontier Areas, and helped to establish an Anglo-Chinese School.In 1902, he returned to his position as Assistant Secretary.From 1903–1905, he served his terms as Government Archaeologist and Adviser on Chinese Affairs.