The Union XII Corps held most of Culp's Hill during the Battle of Gettysburg. Its troops arrived on July 2, fortified the wooded slopes, and formed the main defensive force protecting the Union right.
The corps' position was strengthened by breastworks built under the direction of Brigadier General George S. Greene, a civil engineer and commander of a New York brigade. These earth-and-log defenses were especially important because the Confederates attacked after dark, when the broken, wooded terrain made movement and coordination difficult.
Culp's Hill was not defended by the XII Corps alone. Troops from the Union I and XI Corps reinforced Greene during the fighting, and elements of the XII Corps were temporarily sent toward the Union left before returning. That movement explains why other corps sometimes appear in accounts of the hill. Nevertheless, the XII Corps supplied the principal defenders and regained the full position after Confederate troops briefly occupied abandoned lower works.