In 1906, Tsar Nicholas II sent a secret agent to China to collect intelligence on the reform and modernization of the Qing dynasty. The task was given to Carl Gustaf Emil Mannerheim, at the time a colonel in the Russian army, who travelled to China with French Sinologist Paul Pelliot. Mannerheim was disguised as an ethnographic collector, using a Finnish passport. Finland was, at the time, a Grand Duchy. For two years, Mannerheim proceeded through Xinjiang, Gansu, Shaanxi, Henan, Shanxi and Inner Mongolia to Beijing. At the sacred Buddhist mountain of Wutai Shan he even met the 13th Dalai Lama. However, while Mannerheim was in China in 1907, Russia and Britain brokered the Anglo-Russian Agreement, ending the classical period of the Great Game.