He certainly visited Prague, the capital city and principal cultural center of Bohemia, on many occasions. In October 1787, he met Lorenzo da Ponte, the librettist of Wolfgang Amadeus Mozart's opera Don Giovanni, in Prague at the time of the opera's first production and likely met the composer as well at the same time. There is reason to be believe that he was also in Prague in 1791 for the coronation of Holy Roman Emperor Leopold II as king of Bohemia, an event that included the first production of Mozart's opera La clemenza di Tito. Casanova is known to have drafted dialogue suitable for a Don Juan drama at the time of his visit to Prague in 1787, but none of his verses was 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.[79]