Pope Pius XII (Italian: Pio XII; born Eugenio Maria Giuseppe Giovanni Pacelli; 2 March 1876 – 9 October 1958) was head of the Catholic Church and sovereign of the Vatican City from 2 March 1939 until his death on 9 October 1958. He is the most recent pope to take the pontifical name "Pius".
The papacy of Pius XII was long, even by modern standards; it lasted almost 20 years, and spanned a consequential fifth of the 20th century. Pius was a diplomat pope during the destruction wrought by the Second World War, the recovery and rebuilding which followed, the beginning of the Cold War, and the early building of a new international geopolitical order, which aimed to protect human rights and maintain global peace through the establishment of international rules and institutions (such as the United Nations). Born, raised, educated, ordained, and resident for most of his life in Rome, his work in the Roman Curia—as a priest, then bishop, then cardinal—was extensive. He served as secretary of the Vatican's diplomatic Department of Extraordinary Ecclesiastical Affairs, papal nuncio to Germany, Camerlengo of the Apostolic Chamber, and Cardinal Secretary of State for the Holy See, in which capacity he worked to conclude treaties with various European and Latin American nations, including the Reichskonkordat treaty with Nazi Germany.