Complex sentence: In the resulting action, the British repulsed the French assault and completed their embarkation, saving their army from destruction but leaving the port cities of Corunna and Ferrol, as well as northern Spain, to be captured and occupied by the French.
Split into simpler sentences: In the resulting action, the British repulsed the French assault and completed their embarkation. But the port cities of Corunna and Ferrol, as well as northern Spain, were captured and occupied by the French.