Complex sentence: The Americans, vastly outnumbered, fought a large British assault on their five gunboats, ultimately failing to achieve their objective but not before inflicting considerable damage on the British vessels and crews.
Split into simpler sentences: The Americans, vastly outnumbered, fought a large British assault on their five gunboats. Ultimately failing to achieve their objective but not before inflicting considerable damage on the British vessels and crews.