Puccini was given a general education at the seminary of San Michele in Lucca, and then at the seminary of the cathedral. One of Puccini's uncles, Fortunato Magi, supervised his musical education. Puccini got a diploma from the Pacini School of Music in Lucca in 1880, having studied there with his uncle Fortunato, and later with Carlo Angeloni, who had also instructed Alfredo Catalani. A grant from Queen Margherita, and assistance from another uncle, Nicholas Cerù, provided the funds necessary for Puccini to continue his studies at the Milan Conservatory, where he studied composition with Stefano Ronchetti-Monteviti, Amilcare Ponchielli, and Antonio Bazzini. Puccini studied at the conservatory for three years, sharing a room with Pietro Mascagni. In 1880, at the age of 21, Puccini composed his Mass, which marks the culmination of his family's long association with church music in his native Lucca.
