George Meade was suddenly appointed the commander of the army on June 28, a mere three days before the battle of Gettysburg. At the battle, the I, II, and III Corps suffered such severe losses that they were almost nonfunctional as fighting units at the end. One corps commander (Reynolds) was killed, another (Sickles) lost a leg and was permanently out of the war, and a third (Hancock) was badly wounded and never completely recovered from his injuries. The VI Corps had not been significantly engaged and was mostly used to plug up holes in the line during the battle.