Answer
Bernard Boursicot was working at the French Embassy in Beijing when Shi Pei Pu was obtaining secrets from him. Boursicot was a code clerk at the embassy, and Shi Pei Pu was a Chinese diplomat. Shi Pei Pu was able to gain Boursicot's trust and eventually obtain secrets from him. The secrets that Shi Pei Pu obtained from Boursicot were used by the Chinese government to their advantage.