Basilica della Santa Casa
Melozzo's last work in Rome was a chapel, now destroyed, in the church of Santa Maria in Trastevere. After the death of Sixtus IV in 1484, Melozzo moved from Rome to Loreto. There he painted the fresco in the cupola of the sacristy of San Marco in the Basilica della Santa Casa, commissioned by cardinal Girolamo Basso della Rovere. It is one of the first examples of a cupola decorated both with architecture and figures; it greatly influenced the Camera degli Sposi by Mantegna.