Johann Nepomuk Hummel wrote the Piano Quintet Op. 87 in 1802; however, the first edition was not published until 1822.