Complex sentence: The French managed to capture the crest after hard fighting, but by that point the majority of Barclay's army had escaped and was heading towards Lubino.
Split into simpler sentences: The French managed to capture the crest after hard fighting. By that point the majority of Barclay's army had escaped and was heading towards Lubino.