Born near Treviso, he studied in the local seminary, then in the University of Padua. He took a doctorate of philosophy and law, but he left the clerical state to join the citizen militia during the war with Austria in the period 1848–1850. He received the minor orders in 1850, after rejoining the clerical state.