 He attended the University of Vienna, where he earned a doctorate in theology in 1849.After his ordination he worked in the Archdiocese of Vienna in the parish of Saint Leopold.He was also a professor of religion in the gymnasium of the Theresian Academy, a preacher in the metropolitan cathedral, and a professor of pastoral theology in the university.