 He was educated at the , receiving a law degree on May 15, 1776 and a degree in theology on September 9, 1779.After he was ordained as a priest, he served in Monzón, before becoming priest in his home town of Ponzano in 1795.He was schoolmaster at Huesca Cathedral from 1808 to 1815.