Complex sentence: He ordered some of his men to take the railroad station, while he and a few other soldiers went to secure the telegraph office and the Confederate flag flying above the Marshall House Inn.
Split into simpler sentences: He ordered some of his men to take the railroad station, while he and a few other soldiers went to secure the telegraph office. While doing this, Ellsworth noticed a Confederate flag flying above the Marshall House Inn.