Pope Pius IX (; born Giovanni Maria Mastai-Ferretti; 13 May 1792 – 7 February 1878) was head of the Catholic Church from 1846 to 1878. His reign of nearly 32 years is the longest verified of any pope in history. If including unverified reigns, his reign was second to that of Peter the Apostle. He was notable for convoking the First Vatican Council in 1868 and for permanently losing control of the Papal States in 1870 to the Kingdom of Italy. Thereafter, he refused to leave Vatican City, declaring himself a "prisoner in the Vatican". Wikipedia