 He became a teacher at the Primary Grammar School in Rozsnyó (today Rožňava, Slovakia).In 1890 he obtained his doctoral degree and in 1890-1981 he was deputy teacher at the Markó street public high school .In 1891 he obtained a degree in mathematics at the Royal Joseph University of Budapest, where he taught until his death.