 Anderson was wounded at Glendale and afterwards resigned his commission to manage the Tredegar Iron Works in Richmond.Thomas then became permanent commander of the brigade and on November 1, he was promoted to brigadier general, participating in all of the major battles and campaigns fought by the Army of Northern Virginia.When division commander William D. Pender was mortally wounded at Gettysburg, the two ranking brigade commanders left in the division were Thomas and James H. Lane.