The casualties were:

CONFEDERATE.[140]

First Corps 7,539
Second Corps 5,937
Third Corps 6,735
Cavalry 1,426
Aggregate 21,637

UNION.[141]

First Corps 6,059
Second Corps 4,369
Third Corps 4,211
Fifth Corps 2,187
Sixth Corps 242
Eleventh Corps 3,801
Twelfth Corps 1,082
Cavalry 1,094
Staff 4
Aggregate 23,049

The organization of the contending armies at Gettysburg was as follows:

Army of Northern Virginia, General Robert E. Lee, commanding.

First Army Corps, Lieutenant-General James Longstreet.

McLaws’s Division, Maj.-Gen. Lafayette McLaws:—Kershaw’s Brigade, Brig.-Gen. J. B. Kershaw; 2d S. C., Col. J. D. Kennedy, Lieut.-Col. F. Gaillard; 3d S. C., Maj. R. C. Maffett, Col. J. D. Nance; 7th S. C., Col. D. Wyatt Aiken; 8th S. C., Col. J. W. Henagan; 15th S. C., Col. W. D. De Saussure, Maj. William M. Gist; 3d S. C. Battn., Lieut.-Col. W. G. Rice. Barksdale’s Brigade, Brig.-Gen. William Barksdale, Col. B. G. Humphreys; 13th Miss., Col. J. W. Carter; 17th Miss., Col. W. D. Holder, Lieut.-Col. John C. Fiser; 18th Miss., Col. T. M. Griffin, Lieut.-Col. W. H. Luse; 21st Miss., Col. B. G. Humphreys. Semmes’s Brigade,[142] Brig.-Gen. P. J. Semmes, Col. Goode Bryan; 10th Ga., Col. John B. Weems; 50th Ga., Col. W. R. Manning; 51st Ga., Col. E. Ball; 53d Ga., Col. James P. Simms. Wofford’s Brigade, Brig.-Gen. W. T. Wofford; 16th Ga., Col. Goode Bryan; 18th Ga., Lieut.-Col. S. Z. Ruff; 24th Ga., Col. Robert McMillan; Cobb’s (Ga.) Legion, Lieut.-Col. Luther J. Glenn; Phillips (Ga.) Legion, Lieut.-Col. E. S. Barclay. Artillery, Col. H. C. Cabell; 1st N. C. Art., Batt. A, Capt. B. C. Manly; Pulaski (Ga.) Art., Capt. J. C. Fraser, Lieut. W. J. Furlong; 1st Richmond Howitzers, Capt. E. S. McCarthy; Troup (Ga.) Art., Capt. H. H. Carlton, Lieut. C. W. Motes.