after antietam, lee's army was retreating back across the potomac river at boteler's ford, about 1 mile east of shepherdstown. brigadier general william n. pendleton, an ordained episcopal minister before the war, was given command of the rearguard at boteler's ford covering the withdrawal of the army of northern virginia back into virginia. he was lee's chief of artillery. as such he would dispatch various artillery units to other commands. but he had never commanded troops himself.