Giacomo Casanova how he had escaped from their prison. Of his three bachelor patrons, however, only Dandolo was still alive and Casanova was invited back to live with him. He received a small stipend from Dandolo and hoped to live from his writings, but that was not enough. He reluctantly became a spy again for Venice, paid by piece work, reporting on religion, morals, and commerce, most of it based on gossip and rumor he picked up from social contacts. He was disappointed. No financial opportunities of interest came about and few doors opened for him in society as in the past.
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