On September 17, 1862, the Confederate Army of Northern Virginia under General Robert E. Lee held a line near Sharpsburg. General Longstreet's command, including D.H. Hill's division of Jackson's command temporarily attached, occupied the right and center of the Confederate line, extending from Antietam Creek south of Sharpsburg northward to Mumma's House. General Jackson's command occupied the left of the line from Mumma's House to the Hagerstown Pike north of the Dunkard Church, then through the West Woods to the open fields south of Nicodemus' House. General Stuart's cavalry division covered the army's extreme left, extending from Jackson's left westward to the Potomac River.