Kozlovsky composed a famous Requiem Mass in E flat minor Missa pro defunctis for the death of Stanisław August Poniatowski, the King of Poland (1732–1798), commissioned by the King himself before his death and performed on February 25, 1798 in St Petersburg.