How did intelligence play a role in the outcome of the battle?