Petersburg Confederate order of battle

The following Confederate States Army units and commanders fought in the siege of Petersburg of the American Civil War. The following order of battle is the organization from the Confederate forces near Petersburg of October 27, 1864.
Confederate forces near Petersburg.
Gen Robert E. Lee
Army of Northern Virginia.
Gen Robert E. Lee
First Corps.
LTG James Longstreet
Third Corps.
LTG A. P. Hill
Fourth Corps.
LTG Richard H. Anderson
Cavalry Corps.
MG Wade Hampton III
Department of Richmond.
LTG Richard S. Ewell
Richmond forces.
MG James L. Kemper
Post of Richmond.
BG William M. Gardner
Department of North Carolina and Southern Virginia.
Gen Pierre Gustave Toutant Beauregard
References.
http://www.brettschulte.net/CWBlog/regimental-level-orders-of-battle/