Most of the companies had been transferred to the Army of Northern Virginia to help in the defense of Richmond .
Most of the army had been transferred to the Army of Northern Virginia to help in the defense of Richmond .