This article relies largely or entirely on a single source. (August 2018)
Moving to Rome, he was a cleric in the Apostolic Camera from 1462 to 1474. He was a papal scribe during the pontificate of Pope Paul II. Pope Sixtus IV made Pandolfini preceptor of piety and letters for the pope's nephew, Giuliano della Rovere, who later became Pope Julius II.
On December 23, 1474, he was elected Bishop of Pistoia. Under Pope Sixtus IV, he was governor of Benevento; Pope Innocent VIII later confirmed him in this position. He was named sollicitaoris of apostolic letters on May 21, 1513. Pope Julius II made him an auditor and ascribed him to the papal family.