 Maharaja Marthanda Varma died in 1758, and De Lannoy served as military chief to his successor Dharma Raja.De Lannoy died in 1777 and was interred in the chapel within Udayagiri Fort.The English translation of the Latin inscription on his tombstone runs