Giacomo Casanova 17, in 1742, with a degree in law ("for which I felt an unconquerable aversion"). His guardian's hope was that he would become an ecclesiastical lawyer. Casanova had also studied moral philosophy, chemistry, and mathematics, and was keenly interested in medicine. ("I should have been allowed to do as I wished and become a physician, in which profession quackery is even more effective than it is in legal practice.") He frequently prescribed his own treatments for himself and friends. While attending the university, Casanova began to gamble and quickly got into debt, causing his recall to Venice by his grandmother,
Giacomo Casanova for another position. A few months later, he became the librarian to Count Joseph Karl von Waldstein, a chamberlain of the emperor, in the Castle of Dux, Bohemia (now in the Czech Republic). The Count—himself a Freemason, cabalist, and frequent traveler—had taken to Casanova when they had met a year earlier at Foscarini's residence. Although the job offered security and good pay, Casanova describes his last years as boring and frustrating, though it was the most productive time for writing. His health had deteriorated dramatically, and he found life among peasants to be less than stimulating. He was only able