Fix coherence mistakes in this sentence: Although they had captured the third line, part of this captured territory had to be abandoned because it was exposed to hostile fire, so they consolidated their position along the second line.
They had captured the third line. Part of this captured territory had to be abandoned because it was exposed to hostile fire, so they consolidated their position along the second line.