 He wanted to end his days in a monastery but this proved impossible.Lodovico died in his villa of dropsy and heart problems on 24 October 1802.His will ordered that his funeral should take place "with the least possible pomp".