Mozart and smallpox the imperial family were successful, and led to greater public acceptance for the procedure. Smallpox struck the Mozart family again in the next generation: Nannerl's eldest son Leopold and two of her stepchildren caught the disease during an outbreak in the Salzburg area in 1787. All three children survived. In 1796, the discovery of vaccination—the use of the related cowpox virus to immunize against smallpox—by Edward Jenner revolutionized the ability of medicine to deal with smallpox. Vaccination reached Vienna around 1800, when yet another local epidemic created impetus for its adoption. One of the doctors trained in the Vienna campaign,
Mozart and smallpox both children's illness to contend with, the Mozarts spent a total of four months away from Vienna. They eventually returned there and were received in the Imperial court on 19 January, 1768. The Empress, who had by now lost three children to smallpox, conversed with Frau Mozart about the disease. The remainder of the trip was not especially successful. Leopold apparently misinterpreted a chance remark of the Emperor as a firm invitation for Wolfgang to compose an opera; this resulted in Wolfgang writing "La finta semplice". However, the opera went unperformed in Vienna; the singers and musicians did not like