The battle was soon over. In seven hours’ fighting over possession of a swamp and the bluff that rose above it, the Union sustained six thousand casualties and the Confederates nine thousand. On an hourly basis, Gaines’s Mill was one of the war’s costliest battles. The ratio was predictable for a force attacking such a strong defensive position.