Complex sentence: The latter part of his life was spent in retirement and he died on 19 June 1818 at Lennel House in Berwickshire.
Split into simpler sentences: The latter part of his life was spent in retirement. He died on 19 June 1818 at Lennel House in Berwickshire.