He came after Pope Pius IX . He was in office until the age of 93 .
He was the oldest pope ( reigning until the age of 93 ) , and had the third longest pontificate , behind his immediate predecessor Pius IX and John Paul II .