 In 1798 he returned to his native Foligno, where he effected some changes in the Duomo and prepared a project for the Cappella del Sacramento in the church of San Lorenzo at Spello.Among his pupils was Giacomo Albertolli, the nephew of Piermarini's collaborator in stucco decoration of palaces, Giocondo Albertolli.Giacomo succeeded him as professor of architecture in the Brera Academy.