Giacomo Casanova Juan drama at the time of his visit to Prague in 1787, but none of his verses were ever incorporated into Mozart's opera. His reaction to seeing licentious behavior similar to his own held up to moral scrutiny as it is in Mozart's opera is not recorded. In 1797, word arrived that the Republic of Venice had ceased to exist and that Napoleon Bonaparte had seized Casanova's home city. It was too late to return home. Casanova died on June 4, 1798, at age 73. His last words are said to have been "I have lived as a philosopher and
Giacomo Casanova but could not sustain it. He ran the business poorly, borrowed heavily trying to save it, and spent much of his wealth on constant liaisons with his female workers who were his "harem". For his debts, Casanova was imprisoned again, this time at For-l'Évêque, but was liberated four days afterwards, upon the insistence of the Marquise d'Urfé. Unfortunately, though he was released, his patron de Bernis was dismissed by Louis XV at that time and Casanova's enemies closed in on him. He sold the rest of his belongings and secured another mission to Holland to distance himself from his troubles.