One of the major battles of the Civil War and the bloodiest was the Battle of Shiloh, also known as the Battle of Pittsburgh Landing. The Battle of Shiloh was fought in the Hardin County, Tennessee on the 6th and 7th days of April in 1862. The Confederacy under the command of General Albert Sydney Johnston struck a line of Union soldiers occupying ground near Pittsburgh Landing on the Tennessee River. The Federal forces of the Confederacy drove from their camps and threatened to overwhelm Major General Ulysses S. Grant's entire command. Some Federals made determined stands and established a battle line at the sunken road known as the "Hornet's Nest". Rebel attacks failed to carry the Hornet's Nest, but massed artillery helped as the Confederates surrounded the Union troops and captured, killed, or wounded the majority. On the first day of the battle, General Johnston was shot and killed. He was replaced by P.G.T Beauregard. On the second day, Grant's counteroffensive overpowered the weakened Confederate forces and Beauregard's army retreated from the battle field to Corinth. Although the Union troops were the victors of the battle, they suffered greater losses. In fact, the Confederacy actually had a great possibility of defeating the Union. It was the loss of their commander, General Johnston, that weakened their troops causing the Union to win. The total casualties for the Union was 13,047 troops, including 1,754 troops who were killed, 8,408 wounded, and 2,885 captured or missing. The Confederacy had 10,699 total, including 1,728 troops who were killed, 8,012 wounded, and 959 captured or missing.