He graduated from the Greek Catholic Theological Seminary at University of Lviv in 1838 and worked as a priest in the rural Lwow powiat. During his studies he met Yakiv Holovatsky and Ivan Vahylevych, with whom he formed the Ruthenian Triad (aka "Ruska Triytsia").