He then traveled to Rome. In 1771 he won second prize in a painting competition in the city of Parma. Later that year, he returned to Zaragoza. He got work painting frescos in several buildings including the dome of the Basilica of the Pillar. He studied with the painter Francisco Bayeu y Subías. His painting began to show the style which later made his famous.