The overwhelming success of the Prague performance of Le nozze di Figaro (The Marriage of Figaro) in December 1786, led to the commissioning of a new opera. Mozart and his librettist Lorenzo da Ponte turned to the Don Juan theme, making this promising material the basis for their new opera. In the spring of 1787 Mozart began to compose it in Vienna, and was able to complete it in Prague by the autumn of the same year. Don Giovanni received its first performance, under the composer's personal direction, on 20 October 1787 at Prague's Count Nostitz National Theatre.