What was the role of cavalry in the battle?