He studied law and philosophy in Pressburg, and attended the Academy in Győr, Vienna and Rome. He was interested in mathematics and physics. He spoke German, Hungarian, Latin, French, Italian. Later, during his travels he learned English and Romanian. His first job was in 1755 as a clerk in the Hungarian Court Chamber in Pozsony. Later he became a secretary (1757), a Councillor of the Court Chamber (1764), Director of Salt Mining (1765), Second Commissioner of the Constitutional Commission for the Region of Banat (1769), and finally Imperial-Royal Court Councillor (1787). He also helped move the University of Nagyszombat to Buda Castle, and looked after the building of the Court Theatre in Buda's old Carmelite monastery.