Conversation so far:
What foreign affairs was Wilhelm II, German Emperor involved in?
Wilhelm II, German Emperor invented and spread fears of a yellow peril trying to interest other European rulers in the perils they faced by invading China.

Question: When did he gain this position?
Self-contained rewrite: When did Wilhelm II, German Emperor gain the position of German Emperor?