Complex sentence: The leading families had left the town to go to safer places well before the Federal invasion, and arranged for their slaves to be taken away from advancing Federal troops, as was often the practice.
Split into simpler sentences: The leading families had left the town to go to safer places well before the Federal invasion. Most slaves were sent away from advancing Federal troops, as was often the practice.