Complex sentence: She had contracted an infection during the ordeal and she died on July 27 1798 when she was only nineteen years old.
Split into simpler sentences: She had contracted an infection during the ordeal and she died on 27 July 1798. She was only nineteen years old.