 He returned to Pistoia in December 1666 to replace his brother as "maestro di cappella" of the cathedral in June 1667.The following October he was appointed "maestro di cappella" of the Basilica di Santa Maria Maggiore in Rome.He remained there until July 1672 when he became the "maestro" at San Luigi dei Francesi, remaining in that role until his death 31 years later.