Complex sentence: Those who did not escape the battle were to be executed at the gallows, which occurred on the same day or later in the week.
Split into simpler sentences: Those who did not escape the battle were executed at the gallows. The executions occurred on the same day, or later in the week.