Complex sentence: Kray's troops suffered heavy losses but by evening the French army was badly beaten and the French hold on the Italian Riviera was gravely weakened.
Split into simpler sentences: Kray's troops suffered heavy losses but the French army was badly beaten. The French hold on the Italian Riviera was gravely weakened.