Based on the life of Lorenzo da Ponte, a friend of Giacomo Casanova in Venice and lyricist of Wolfgang Amadeus Mozart, with whom he worked in the Austrian capital after being banished from Italy by the Inquisition, "because of his dissolute life and full of outrage" .