In the last year of his life, he composed the opera The Magic Flute, the final piano concerto (K. 595 in B-flat), the Clarinet Concerto K. 622, a string quintets (K. 614 in E-flat), the famous motet Ave verum corpus K. 618, and the unfinished final Requiem K. 626.