What was the primary result of the battle for the Confederacy?