 He studied anatomy and natural sciences.After graduating in 1796, he became a student at the Vilnius Priest Seminary where he studied for six years and Varniai Priest Seminary where he spent the 1802/1803 school year.Usually, university graduates were ordained as priests very quickly, but Nezabitauskis had to wait until 1803 – the year he turned 24, the minimum age for a priest set by the Council of Trent.