Original sentence: Commitment was made to the Spanish rebellion in the Peninsula War, where, protected by topography, and assisted by massive Spanish guerrilla activity, and sometimes falling back to massive earthworks, the Anglo-Portuguese army succeeded in harassing French forces for several years
Edited sentence: Commitment was made to the Spanish rebellion in the Peninsula War, where, protected by topography, and greatly assisted by massive Spanish guerrilla activity, and sometimes falling back to massive earthworks, the Anglo-Portuguese army succeeded in harassing French forces for several years