Complex sentence: She served during the French Revolutionary and Napoleonic Wars, and was commanded by several notable officers, while another officer, surgeon William Beatty, who went on to attend to the dying Lord Nelson at Trafalgar also served aboard her.
Split into simpler sentences: She served during the French Revolutionary and Napoleonic Wars and was commanded by several notable officers. Another officer, surgeon William Beatty, who went on to attend to the dying Lord Nelson at Trafalgar also served aboard her.