In 1997, when he turned 70, Ratzinger asked Pope John Paul II for permission to leave the Congregation of the Doctrine of Faith and to become an archivist in the Vatican Secret Archives and a librarian in the Vatican Library, but the Pope refused such permission.