Vatican City signed the Lateran Treaty making it an independent state.

Source