At the Battle of Chancellorsville in May 1863, Jackson ordered Hill's division to the front in preparation for a night attack. Meanwhile, Jackson was personally doing reconnaissance. As he returned he was fired on by his own men, mortally wounding the general. J.E.B. Stuart took over command and called off the night attack. Chancellorsville was a Confederate victory.