 On December 17, 1740, he was named Apostolic visitor of the Reverend Fabric of St. Peter's and later Apostolic visitor of the Archhospital of Santo Spirito in Rome.Lanfrdini died on May 16, 1741 in Rome.He was buried in the church he founded, SS.