Answer
Vatican City, the smallest sovereign state in the world, came into existence as a result of Pius IX's refusal to leave his residence after the capture of Rome in 1870. This event marked the end of the Papal States' temporal power and led to the creation of the modern Italian state. The Lateran Treaty of 1929 formally recognized Vatican City as an independent state.