Yes, Gettysburg is based on the true events of the Battle of Gettysburg, which took place during the American Civil War in 1863.