 He entered the novitiate of the Society of Jesus 16 October 1723, and showed marked talent, studying mathematics and philosophy at Bologna, under Father Luigi Marchenti, a former pupil of Pierre Varignon at Paris.After completing his philosophical studies he taught letters for several years at Venice.He studied theology at Parma and then became professor of mathematics and physics at the university, holding this position for twelve years.