Giacomo Casanova scandal involving a local pair of star-crossed lovers, Cardinal Acquaviva dismissed Casanova, thanking him for his sacrifice, but effectively ending his church career. In search of a new profession, Casanova bought a commission to become a military officer for the Republic of Venice. His first step was to look the part: He joined a Venetian regiment at Corfu, his stay being broken by a brief trip to Constantinople, ostensibly to deliver a letter from his former master the Cardinal. He found his advancement too slow and his duty boring, and he managed to lose most of his pay playing faro.
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