Following a bloody battle.
The battle was the Battle of Gettysburg and it was the bloodiest battle of the Civil War. Lincoln delivered it on November 19, 1863, four months after the battle was fought, during the dedication of a military cemetery at Gettysburg.
Hope that helps!