In the first act of Don Giovanni, which Mozart wrote to a libretto by Lorenzo Da Ponte and first staged in Prague on 29 October 1787, Donna Elvira appears in a public square outside the Don's palace. She sings of the lover who abandoned her and of her wish for revenge, not knowing that Don Giovanni and his servant Leporello are listening. The Don steps forward to court the unknown lady, until the two recognise each other and her lament turns into a confrontation.