Pius XII assumed the papacy in 1939. In the buildup to war, he sought to act as a peace broker. As the Holy See had done during the pontificate of Benedict XV (1914–1922) during World War I, the Vatican, under Pius XII, pursued a policy of diplomatic neutrality through World War II.