Bratton was promoted to brigadier general dating from May 6, 1864. He led an infantry brigade in the Army of Northern Virginia for most of the rest of the war, seeing action in such battles as the Wilderness, Spotsylvania Court House, and Cold Harbor. He then participated in the defense of Petersburg and was wounded in the shoulder at the Battle of Darbytown Road.