The Apostolic See has existed since January 17, 1377, when Pope Gregory XI moved it from the destroyed Lateran.
Formally, Vatican City has been an independent state only since February 24, 1929, when the Ecclesiastical State and the government of Bennito Mussolini signed a treaty formalizing its existence and functioning.