In 1863, the Pennsylvania Railroad was in the process of building a spur from Gettysburg to the west. At McPherson Ridge, the railroad dug a cut through the ridge to keep the track level coming out of Gettysburg. The cut was close to being finished but the tracks were not yet laid at the time of the battle. In the morning attack, members of Davis’s confederate brigade found themselves trapped in the cut. In the afternoon, it was members of the Union First Corps that ended up in the cut surrounded by rebel troops.