Complex sentence: He was to open a city gate at night so that a small Byzantine unit would seize the gate and prepare the entry for the rest of the army.
Split into simpler sentences: He was to open a city gate at night. A small Byzantine unit would seize the gate and prepare the entry of the rest of the army.