The organization of the Army of Northern Virginia did not change until the end of the war. The Army featured several corps, the corps featured several divisions, and the artillery was divided between the corps. The strength of the Army grew in the first six months from about 46,380 to 62,230 soldiers. The army was assigned in July to the Defense District of North Carolina and Richmond. In the course of the Richmond-Petersburg Campaign the number of soldiers temporarily grew to 82,633 while parts of the Army were under the command by Lieutenant General Early in Shenandoah Valley.