Complex sentence: His health began to fail in 1791, and he also suffered great financial losses, but he managed to complete his great work in 1796, before his death.
Split into simpler sentences: His health began to fail in 1791, when too he suffered great pecuniary losses. But he was able to complete his great work in 1796, before his death.