The Civil War (1861-1865) resulted in a victory for the North over the South. The North had key advantages including a larger population of 22 million, control over 90% of industry and manufacturing especially of munitions, and control of the navy which blockaded Southern ports. However, the South also had advantages in defending familiar territory and capable generals like Robert E. Lee. After major battles like Gettysburg and Vicksburg in 1863, the tide turned in favor of the North. Finally in April 1865, General Grant defeated Robert E. Lee's army, forcing his surrender and effectively ending the Civil War, with over 618,000 deaths during the conflict.