Complex sentence: In October of 1777, American General Horatio Gates arrived in time to lead the end of the battle and take full credit for the American victory while relieving Arnold of command of his division.
Split into simpler sentences: In October of 1777, American General Horatio Gates arrived in time to lead the end of the battle. Gates took full credit for the American victory, and relieved Arnold of command of his division.