What did the Union army capture after the battle?