an Entity references as follows:
The Gettysburg campaign was a military invasion of Pennsylvania by the main Confederate army under General Robert E. Lee in summer 1863. It was the first time during the war the Confederate Army attempted a full scale invasion of a free state. The Union won a decisive victory at Gettysburg, July 1–3, with heavy casualties on both sides. Lee managed to escape back to Virginia with most of his army. It was a turning point in the American Civil War, with Lee increasingly pushed back toward Richmond until his surrender in April 1865. The Union Army of the Potomac was commanded by Maj. Gen. Joseph Hooker and then (from June 28) by Maj. Gen. George G. Meade.