Under his command, the VI Corps played an important role in the Chancellorsville Campaign by engaging Confederate troops at the Second Battle of Fredericksburg and the Battle of Salem Church. His corps was the last to arrive at the Battle of Gettysburg and thus did not see much action. Sedgwick was killed by a sharpshooter at the Battle of Spotsylvania Court House on May 9, 1864, making him and Major Generals James B.
Reynolds the highest-ranking Union officers to be killed in the war. He is remembered for an ironic remark among his last words: They couldn't hit an elephant at this distance.