Complex sentence: In the mean time, d'Erlon's men began to ascend the slope, and as they did so, Picton's men stood up and opened fire.
Split into simpler sentences: In the mean time, d'Erlon's men began to ascend the slope. As they did so, Picton's men stood up and opened fire.