Complex sentence: It was the headquarters for the 8th Infantry, 12th Infantry and 6th Cavalry with a garrison of about 500 soldiers.
Split into simpler sentences: It was the headquarters for the 8th Infantry, 12th Infantry and 6th Cavalry. It had a garrison of about 500 soldiers.