Complex sentence: Contrary to orders some hotheads charged out, their attack was beaten off, but their flight caused the Flemings to abandon their defensive works in pursuit.
Split into simpler sentences: Contrary to orders some hotheads charged out. Their attack was beaten off, but their flight caused the Flemings to abandon their defensive works in pursuit.