That was Stonewall Jackson.
I seem to recall that it was a soldier from a North Carolina regiment who shot him as he approached their position on horseback in the night.
“Let us cross over the river, and rest under the shade of the trees.”