(Köthen funeral music), BWV 244a', is a cantata by Johann Sebastian Bach. He composed it in 1729 for the funeral of Leopold, Prince of Anhalt-Köthen. The music is lost, but the libretto survives. As Bach is known to have used musical material which also appeared in his St Matthew Passion, it has been possible to make reconstructions.
The cantata is in 24 movements (choruses, arias and recitatives) divided into four parts. The first deals with the principality in mourning, the second the prince's departing and the salvation of his soul. The third part, followed by a homily, details Leopold's commemoration. The final section is about the farewell and about eternal rest.