Complex sentence: The two armies went back and forth for three days, each time one army made headway, the opposing army would push back, gaining ground.
Split into simpler sentences: The two armies went back and forth for three days. Each time one army made headway, the opposing army would push back, gaining ground.